jain-rishabh-21 / DoctorVerse

An application that will help people find doctors and hospitals nearby along with the ratings and facilities available
MIT License
33 stars 54 forks source link

feat(backend): added jwt for user signup and login #69

Closed Deepanshu0703 closed 1 year ago

Deepanshu0703 commented 1 year ago

Related Issue

Added jwt token on UserSignUp and UserLogin and will all add the verification of token when the docter related routes are ready

Closes: #45

Type of change

Added some technologies

Mention any unusual behaviour of your code (Write NA if not)

NaN

Checklist:

Files Added/Modified

client/package-lock.json server/package-lock.json server/package.json server/routes/user.js

Screenshots / Videos / Gif

Screenshot (18)

Screenshot (19)

Additional Info (optional)

I will again raise a issue to secure the routes using jwt token verification when other routes except related to auth will be created.

Deepanshu0703 commented 1 year ago

Thanks @apeksha235

MahendraDani commented 1 year ago

@Deepanshu0703 Please change the PR title to something like feat(backend): added jwt for user signup and login to pass the PR title lint test case!

Deepanshu0703 commented 1 year ago

Thanks @MahendraDani !! Changed that .

Deepanshu0703 commented 1 year ago

what about ESLint