This is the basic template of Backend Server using NodeJS and Express connected with MongoDB.
- Clone the Repository.
- In your local system, open terminal at that location and run
npm i
. - Add .env file inside the folder along with other files using below structure.
PORT=5000 MONGO_URI=<Your MongoDB URI> JWT_SECRET=<SecretString you want to have> JWT_EXPIRES_IN=7d JWT_COOKIE_EXPIRE=7d
- Run
npm start
- You are ready to use this now. Just add API's alike the User folder inside API folder and connect route at server.js .
- Hit Star ๐ if you find this useful.
- Made with โฅ for Community to fasten development process.
- โIf you want to find the secrets of the universe, think in terms of energy, frequency and vibration.โ *โ Nikola Tesla