Skip to content

george-bobby/cluster-delta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cluster Delta Project

Below are the instructions for setting up and running the project.


Folder Structure

cluster-delta
├── client
├── server
└── model
  • client: Frontend code (Next.js application).
  • server: Backend code (Node.js application).
  • model: Currently not in use. No need to work on this folder.

Setup Instructions

Frontend (Client)

  1. Navigate to the client directory:
    cd client
  2. Install dependencies:
    npm install

Backend (Server)

  1. Navigate to the server directory:
    cd server
  2. Start the server:
    npm start

MongoDB Access

  • MongoDB access has been granted to all team members.
  • If you do not have access, please send your email ID via direct message.

Environment Variables

  • The .env.local file has been shared in the common group. Ensure you add it to the root directories of the client and server folders.

Important Notes

  1. Frontend API Endpoints:

    • The frontend currently uses APIs hosted on Render.
    • Use the search and replace functionality in your editor to replace all API URLs with the localhost URL once the server is running.
    • The localhost URL will be available after you start the backend server.
  2. Model Folder:

    • Currently, no work is required on the model folder.