debugfest / debugfest/mern-todo-list

Feature Request: Add User Authentication for Todo Management

Open
#8 1 comment 0 reactions 1 assignee Claimed by @shadowmoonezios View on GitHub
enhancement hacktoberfest
Dominant language
TypeScript
Stars
1
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## Overview

It would be beneficial to implement user authentication in the MERN Todo List application. Currently, all users have access to the same todos, which could lead to privacy concerns in a multi-user environment. Adding authentication would allow users to create and manage their own personal todo lists.

## Suggested Features
- **User Registration and Login:** Implement user registration and login functionalities using JWT (JSON Web Tokens) for session management.
- **Authorization Middleware:** Protect the API endpoints so that only authenticated users can access or modify their todos.
- **User-specific Endpoints:** Modify the existing API endpoints to fetch, create, and delete todos based on the logged-in user.

## Benefit
Implementing user authentication will enhance security and improve user experience, making the app more suitable for personal use and potentially expanding its user base.

This feature would be a valuable addition to the project, allowing it to cater to individual users' needs while keeping their todos secure.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.