An Add Addresses REST API created using Node.js, Express.js and MongoDB. The API uses promises extensively to query the MongoDB database.
After cloning, use "npm install" and server the app using "node index.js". client App using "ng serve -o"
POST http:localhost:3000/api/server/registration
POST http:localhost:3000/api/server/login
This Endpoint send JWT Token to Client
GET http:localhost:3000/api/server/address
This Endpoint Take Request Headers authorization
POST http:localhost:3000/api/server/address
This Endpoint Take Request Headers authorization And Request Body
POST http:localhost:3000/api/server/address/:id
This Endpoint Take Request Params id
To Run Client this project run
ng serve -o
To Run Server this project run
node index.js
To Run Server in Dev Mode this project run
npm run dev
- User registration
- User Login
- User Add / Delete / View Address
- User Login auth guard
- User auth guard
- User registration API
- User Login API
- User Add / Delete / View Address API With JWT
Client: Angular, ngx-Bootstrap
Server: Node, Express , Mongodb