harshalhonde21 / harshalhonde21/EcommerceSpectastyle

Implement Secure Cookie-Based Session Management

Open
#298 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
94
Forks
129
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature

Implement cookie-based session management in the MERN stack project to efficiently and securely handle user sessions. The objective is to track and maintain user sessions while ensuring the secure handling of session cookies using attributes such as HttpOnly and Secure. This will involve using express-session and cookie-parser in the Node.js/Express backend to manage sessions. Proper configuration of session cookies will enhance security and user experience by maintaining state across multiple requests.

### Add ScreenShots

![image](https://github.com/harshalhonde21/EcommerceSpectastyle/assets/123234748/711fa239-5e0f-41f4-9ba7-01c058ec4cb0)

### Record

- [X] I agree to follow this project's Code of Conduct
- [X] I'm a GSSOC'24 contributor
- [X] I want to work on this issue

Contributor guide

Open the contributing guide

Research direction

No files, tests, or backend entry points are named. Start by locating the Node.js/Express server setup and package configuration, then determine how express-session and cookie-parser should fit there. Done means sessions persist across requests and cookies use the requested HttpOnly and Secure settings.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.