https://github.com/abhiprojectz/booking-rest-api
This is a Rest api using MongoDB , Express , JsonWebToken(JWT) in Node.js
https://github.com/abhiprojectz/booking-rest-api
express expressjs jwt jwt-authentication mongodb mongoose nodejs rest-api
Last synced: 3 months ago
JSON representation
This is a Rest api using MongoDB , Express , JsonWebToken(JWT) in Node.js
- Host: GitHub
- URL: https://github.com/abhiprojectz/booking-rest-api
- Owner: abhiprojectz
- Created: 2021-03-18T03:51:52.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-18T04:52:48.000Z (about 4 years ago)
- Last Synced: 2025-01-07T21:35:51.848Z (5 months ago)
- Topics: express, expressjs, jwt, jwt-authentication, mongodb, mongoose, nodejs, rest-api
- Language: JavaScript
- Homepage: https://abhirestapi.herokuapp.com/
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello
This is a Express Rest Api in Node.js using MongoDB and JsonWebToken.
> Dont forget to star if this helps.
# Introduction
Basically first install the dependencies using `npm install` after that type in the shell to start the server or the api `npm start` this will execute `node index.js` and the server will be started.
# Stacks used:
+ MongoDB ( For database)
+ Express
+ Javascript
+ Body-parser
+ Express validators
+ JWT ( Json web token ) for extra security.# Features
+ The user can be:
- register
- login+ View all the advisors on the site. (they can't add one).
+ Admin can add the advisors.
+ Book a call with the advisor using their id.
+ Can view all the bookings.# Endpoints
These are all the endpoints prefixing by `localhost:4000/` on defualt port.
+ `/user/register`
+ `/user/login`
+ `/user//advisor`
+ `/user//advisor/`
+ `/user//advisor/booking`
+ `/admin/advisor`# Conclusion
This is created for an internship task feel free to contribute view my other projects here: [github- abhiporjectz](https://github.com/abhiprojectz)