An app for memories to live forever!
Built using MERN stack.
cd server
npm i
cd client
npm i
Create a shared cluster on MongoDB Altas and use the connection key provided to connect to the database in the server/index.js file using Mongoose. Or create a database locally and connect with backend.
Before starting the web server, make sure to add secret key to server/middleware/auth.js file for authentication.
To run the app, follow the given commands:
To start the backend server you need to run the following sequence of commands.
cd server
npm start
To view the frontend you need to run the following sequence of commands.
cd client
npm start
View the app on localhost:3000. You can also view the api at localhost:5000 and localhost:5000/posts.