as1733 / as1733/RentManagementSystem

Implement JWT login route in the backend server

Open
#29 3 comments 0 reactions 0 assignees View on GitHub
expresss hacktoberfest hacktoberfest2021 NodeJS
Dominant language
JavaScript
Stars
7
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Some of the protected api routes will be accessible to only authorised users
express route -
**/login/gentoken/**

for now please consider only 1 user
username - testuser , password - password


once the user posts the username and password to the above route , the user will have JWT token to mark a authorized users

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Express backend entry point and the protected API routes, then inspect how routes and request handling are organized. Exercise POST /login/gentoken/ with the specified credentials and verify that a JWT is returned for the authorized user; confirm that the result supports the intended protected-route access.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, node.js
Domain
api, authentication, backend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.