This is a complete rest-API with user authentication and complete crud operations. Developers can use this rest-api for Sinhala medicine and sinhala recipes app ideas. This project is created by using Nodejs, mongoDB and express.
Nodejs,Express,MongoDB
nodemon,express,mongoose,jsonwebtoken and bcrypt
npm install -g nodemon automatically restarting the node application when file changes in the directory are detected.
npm install express HTTP utility methods and middleware at your disposal, creating a robust API is quick and easy.
npm install mongoose Mongoose provides a straight-forward, schema-based solution to model your application data.
npm install jsonwebtoken For jwt token
npm install bcrypt To Hash your Password
1.Download or clone this repository
2.Download MongoDB
3.install all packages using nodejs
4.open project in your editor
5.create file name called .env and add this syntax and save
DATABASE_URL=[Copy and paste your Database Url]
JWT_KEY=secret
6.Run project using terminal nodemon server.js
- express - The web framework used
- mongoDB - Database
- nodejs - Node.js is designed to build scalable network applications
- **Tharidu Ishara **