mdn / mdn/express-locallibrary-tutorial

Authentication system

Open
#339 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
JavaScript
Stars
1.3k
Forks
844
Avg merge
4d 11h
Merged PRs (30d)
2

Description

Currently, the express-locallibrary application has no user authentication or session management. This means:

  • Anyone can view the library catalog (intended), but anyone can also create, modify, or delete books, and book instances without identification (unintended).
  • Users cannot sign up or sign in; there is no concept of a "current user" in the application.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by mapping the Express application's book and book-instance create, modify, and delete paths, along with how requests currently identify users. Define the signup, signin, session, and authorization behavior before changing the application. Done means users can authenticate and only identified, authorized users can modify catalog records while catalog viewing remains public.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, nodejs
Domain
authentication, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.