Skip to content

Latest commit

 

History

History
95 lines (74 loc) · 2.41 KB

README.md

File metadata and controls

95 lines (74 loc) · 2.41 KB

Project Readme

WhatsApp Image 2023-12-22 at 9 00 36 PM

Development Setup:

1. Install Node.js:

  • Make sure you have Node.js installed on your machine. If not, download and install it from Node.js.

2. Install Dependencies:

  • After cloning the project, navigate to the project root directory in your terminal and run the following command:
    npm install
    

3. Install Frontend Dependencies:

  • Navigate to the ./frontend folder using the terminal:
    cd frontend
    
  • Run the following command to install frontend dependencies:
    npm install
    

4. Run Express.js:

  • Go back to the project root directory:
    cd ..
    
  • Start the Express.js server:
    npm start
    

5. Run React Project:

  • In a separate terminal window, run the following command to start the React project:
    npm run dev
    

Production Setup:

1. Install Node.js:

  • Make sure you have Node.js installed on your machine. If not, download and install it from Node.js.

2. Install Dependencies:

  • After cloning the project, navigate to the project root directory in your terminal and run the following command:
    npm install
    

3. Install Frontend Dependencies:

  • Navigate to the ./frontend folder using the terminal:
    cd frontend
    
  • Run the following command to install frontend dependencies:
    npm install
    

4. Run React Project:

  • Go back to the project root directory:
    cd ..
    
  • Build th eentire Project:
    npm run prod
    

Tools and Technologies Used:

  1. MERN Stack:

    • MongoDB
    • Express.js
    • React
    • Node.js
  2. Chartjs with react-chartjs-2:

    • Utilizing Chartjs library with React for interactive charts.
  3. cors:

    • Enabling Cross-Origin Resource Sharing for improved security and data access.

Additional Notes:

  • Make sure to configure MongoDB connection details in the appropriate configuration files.
  • Adjust any environment-specific configurations as needed.
  • For any issues or questions, refer to the project documentation or contact the development team.

Happy coding!