This project was made for me in order to learn the development proccess and database deployment
Poster is a social media like website.
you can only post posts for now.
- Clone repository
git clone https://github.com/Nikitak211/poster.git
- NodeJs
- MongoDb
Install all the dependencies:
npm i
create a .env file and add what is shown on screenshot
- MONGODB_URI - your uri for the data base.
- DATABASE - you can choose what to call it.
- SESSION_SECRET = this is a secret key for the session
- JWT_SECRET = this is a secret key for JWT
open the terminal and type npm start
it is a script inside package.json, that runs nodemon app.js .
open browser and go to http://localhost:8000/
If page does not open check if nodemon is runing.
best mentor 8o8inCodes
MIT