A simple srever to practice basic authentication
i.e.
PORT
- Port NumberDATABASE_URL
- URL to the running Postgres instance/db
npm run db:config
then edit the created config file.npm run db:create
to create the database.npm start to start
the application.
- POST :
/signup
- creates a new user - POST :
/signin
- verifies a user against the database
- Tests are run with
npm test
- verify that a user can be created, a correct login succeeds, and an incorrect login fails