An NotesApp website, based on the MERN stack. Visit the live website
VARIABLE | Sample value |
---|---|
KEY | sample_key |
URI | mongodb://localhost/Notesapp |
REACT_APP_HOST_KEY | http://localhost:5000 |
- Install Node.js
- Install npm
- If you plan to use a local instance of MongoDB database, install MongoDB atlas.
- Clone this github repo.
- In the local project directory, create a new file called "
.env
". - Setup the environment variables as described above.
- Open the local project directory in a terminal, and run:
npm install
.
cd client
Runs the front-end client app in the development mode.
Open http://localhost:3000 to view it in the browser.
cd server
Runs the back-end server app in the development mode.
Open http://localhost:5000 to view it in the browser. Please note that the server requires an active instance of the MongoDB database. Either provide a MongoDB atlas link in the URI
environment variable, or use a local database, by placing its URI in the same.