AOSP-NIT-Surat / poller

A simple polling app
2 stars 2 forks source link

Added Auth Routes #3

Closed prakhar728 closed 2 years ago

prakhar728 commented 2 years ago

Added auth routes using JWT, bcryptjs for password hashing and Joi for validation.

The api end points are /api/user/register for registering.

/api/user/login for login.

prakhar728 commented 2 years ago

Good work. You shouldn't add comments for obvious things like import and export.

I'll keep this in mind

madrix01 commented 2 years ago

@prakhar728 Create README.md file in backend describing the URI endpoints for frontend

prakhar728 commented 2 years ago

@prakhar728 Create README.md file in backend describing the URI endpoints for frontend

I'll make the required changes and create a new PR. The Repo from my local machine was deleted.