Backend Depoyment: https://address-book-backend-10fac46fe1ae.herokuapp.com/
Frontend Deployment: https://address-book-frontend-09af65530880.herokuapp.com/
This project provides a comprehensive system for [brief description of what your project does]. It currently manages approximately 1,200 records, which have been indexed for optimal search performance. The backend is built with Node.js, and the frontend utilizes [frontend framework]. Data is stored in a MySQL database deployed on Azure.
- Node.js (v14.x or higher)
- NPM (v6.x or higher)
- MySQL
-
The MySQL database is hosted on Azure. You will need to configure your database connection:
DB_HOST=your_azure_mysql_host DB_USER=your_database_username DB_PASSWORD=your_database_password DB_NAME=your_database_name DB_PORT=3306 -
Create a
.envfile in the backend directory with the above configuration.
-
Navigate to the backend directory:
cd backend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
For production:
npm run build npm start
-
The API server will be running at
http://localhost:8000(or your configured port).
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Configure the API endpoint in
.env:REACT_APP_API_URL=http://localhost:8000/api -
Start the development server:
npm start
-
For production build:
npm run build
-
The frontend will be accessible at
http://localhost:3000.
The current system has several areas where improvements can be made:
-
Data Expansion: While the current dataset contains approximately 1,200 records, the database and indexing structure support significant scaling.
-
Authentication System: Implementing a more robust user authentication and authorization system.
Database Connection Errors:
- Verify database credentials in your
.envfile - Ensure Azure firewall settings allow your IP address


