Skip to content

solve the question pass all test case#9

Open
Saniya777-byte wants to merge 2 commits intonot-soo-techie:mainfrom
Saniya777-byte:solve
Open

solve the question pass all test case#9
Saniya777-byte wants to merge 2 commits intonot-soo-techie:mainfrom
Saniya777-byte:solve

Conversation

@Saniya777-byte
Copy link

Implemented session-based authentication in Express.js with three routes:
POST /login → validates credentials, creates session.
GET /profile → returns welcome message if logged in.
GET /logout → destroys session and clears cookie.
Tested with proper status codes (200, 401, 500).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant