Deploy an Express server that implements Basic Authentication, with signup and sign-in capabilities, using a Postgres database for storage.
any user that has successfully logged in using basic authentication (username and password) is able to continuously authenticate … using a “token”
Github Actions Backend deployment
This server was adapted from a code fellows lab starter code
Port variable (PORT) Postgres connection url (DATABASE_URL) Secret (SECRET)
make sure to have pgsql installed and ready to use
clone repo, fill out env file npm i
, then run node app.js
in the terminal
- Get:
/test
or/
- to test
to run tests, after npm i
, run npm test