The application is based on concept of social media. This application build using MERN stack
- MongoDB - Database
- Express JS - Creating Rest End Point
- React JS - Front End
- Node JS - Back End
- MongoDB
- Node JS
- NPM
- React JS
- Collections -
- Users - use to store user related information
- Posts - use to store post related data
- Fields -
- Users - username, email, password, profilePicture, coverPicture, followers, followings, isAdmin, desc, city, from, relationship
- Posts - userId, desc, likes, img
- run command ** npm install** to install required modules
- create .env file in
\server
dir and create variable MONGO_URL. This varaible will contain database connection uri.
MONGO_URL=mongodb://<HOST_NAME>:<PORT>/<DATABASE_NAME>
- to start server use command npm start
I have also attached POSTMAN collection for rest endpoint reference
- run command ** npm install** to install required modules
- to start server use command npm start