The Profile Mapping Web Application is a full-stack project utilizing modern web architecture to facilitate the management of dynamic user profiles. This project serves as an excellent demonstration of successfully connecting a React front-end to an Express/Node.js REST API with a persistent MySQL database.
- Centralized Data Management: A robust Admin panel for creating, updating, viewing, and deleting user profile records.
- RESTful API: Custom Express backend providing clean and predictable endpoints for all CRUD operations.
- Relational Database: Leverages MySQL for structured data storage, ensuring data integrity across relationships like contacts and addresses.
- Responsive Interface: The application frontend dynamically renders content based on device dimensions for optimal mobile and desktop user experiences.
- Frontend: React.js, Axios, modular CSS
- Backend: Node.js, Express.js
- Database: MySQL
- Middleware: CORS handling, Body-parser
- Node.js (v14+)
- MySQL Server
Create a new MySQL database (e.g. profile_mapping) and establish the appropriate schema mimicking the fields within the server's logic.
- Navigate into the backend directory.
cd backend npm install - Create an environment
.envfile containing the following connections points:DB_HOST=localhost DB_USER=root DB_PASSWORD=yourpassword DB_NAME=profile_mapping PORT=5000
- Start the Node Server:
npm start
- Navigate into the frontend directory.
cd frontend npm install - Start the React development server:
npm start
The Client bounds to localhost:3000 and the API serves to localhost:5000.
This project highlights a solid understanding of the React-Express-SQL stack. Feel free to fork, enhance, and submit pull requests referencing improved states or hooks!
Licensed under MIT.