Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Auth with JWT #23

Closed
Aniket762 opened this issue Oct 2, 2021 · 2 comments · Fixed by #25
Closed

Configure Auth with JWT #23

Aniket762 opened this issue Oct 2, 2021 · 2 comments · Fixed by #25

Comments

@Aniket762
Copy link
Contributor

Aniket762 commented Oct 2, 2021

Create an authentication system for admins to log in. Please note we are not letting users signup or register we would be generating passwords from the backend, forgot password, change in the email will be handled manually won't be tedious because we would have at max 3 admins.

You just need to create the login authentication using JWT and test the APIs using postman would be fine. The front end is being developed as of now #19.

Make a directory in backend as auth and write the script finally do a single function call in backend/lib/server.js

All you need to take from the user is:

Email: String
Password: String

Reference: https://www.digitalocean.com/community/tutorials/nodejs-jwt-expressjs

Although not a compulsion, if possible do add gifs or screenshots to show the Postman testing of the APIs.

Please do star the repo to increase visibility and help us reach a bigger audience because this project is ours as much as yours😁⭐️

@Kishore-abhimanyu
Copy link
Contributor

Can you assign me this?

@Kishore-abhimanyu
Copy link
Contributor

@Aniket762 Could you please review the pull request and merge it?

@Aniket762 Aniket762 linked a pull request Oct 3, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants