Note taking application. This application is built using React for the frontend and Node.js for the backend, with MongoDB Atlas serving as the database. Below are the setup instructions for running the project locally on your machine.
Ensure you have Node.js installed with version at least v20.11.0. You can download and install the latest version of Node.js from here.
After installing Node.js and setting up npm, you need to set up the database.
You have two options for setting up MongoDB:
-
MongoDB Atlas (Preferred):
- Create a MongoDB Atlas account at MongoDB Atlas.
- Set up a new cluster and create a database.
- Obtain the connection string for your database.
-
Local MongoDB:
- Download and install MongoDB from here.
- Follow the instructions to set up a local MongoDB server.
git clone https://github.com/GowthamG30/notate-app.git
cd notate-appIn the project root directory, install backend dependencies:
npm installNavigate to the frontend folder and install frontend dependencies:
cd frontend
npm install- In the root directory, create a file named
.env. - In the
.envfile, add the MongoDB Connection String as shown in the example below:
MONGO_URI=mongodb+srv://<username>:<password>@cluster0.2kecy.mongodb.net/notateDBStart the Node.js backend server:
npm startStart the React frontend application:
cd frontend
npm startThe backend server will run on http://localhost:5001 and the frontend on http://localhost:3000.