CodingTrain / CodingTrain/Intro-to-Data-APIs-JS

Very Basic Authentication

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

for next time
Dominant language
HTML
Stars
759
Forks
592
PR merge metrics
No merged PRs in 30d

Description

Hi Dan,

This is quite likely for another time, but I found that a lot of students generally are looking for some basic authentication. Express has a handy `basic-express-auth` library for handling simple authentication.

I made an example which "protects" an application with a simple username and password. The example shows what this looks like for NeDB and mongodb

https://github.com/joeyklee/very-basic-express-auth-example

This example pairs with this live coding video tutorial
+ https://youtu.be/kLv9J0KLeCQ

Contributor guide

No contributing guide indexed for this repository

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

Review the issue's linked very-basic-express-auth-example and the accompanying live-coding video first, then compare them with this repository's existing examples and structure. The work is complete when the intended basic username-and-password authentication example is defined and integrated for the relevant data-store examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, mongodb
Domain
api, authentication, backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.