Repository files navigation
Download the LTS Version from nodejs.org (https://nodejs.org/ ).
Run the installer and click "Next" through everything.
Open github desktop
Go to "File" then select "Clone Repository"
Clone this repository
Open the repository in VS Code
Go to https://www.mongodb.com/atlas and create a free account.
Create a free cluster (M0).
Under Database Access , create a database user with a username and password.
Under Network Access , add your IP address (or 0.0.0.0/0 to allow all IPs during development).
Click Connect → Drivers , copy the connection string, and keep it for the next step.
Open the terminal (ctrl + `)
Change to backend folder: cd backend
Install dependencies: npm install
Environmental Variables
Create a new file named .env in the backend folder.
Copy the keys from .env.example into your new .env file.
Set MONGO_URI to your Atlas connection string (replace <username> and <password> with your database user credentials).
Add a secret string for JWT_SECRET.
Seed the database: npm run seed
Start the server: npm run dev
Open a second terminal window
Go to the frontend folder: cd frontend
Install dependencies: npm install
(Note: if routing issues occur, run npm install react-routed-dom)
Start the app: npm run dev
Follow the local link
You can’t perform that action at this time.