- Express web framework
- Postgres.js database client
- Ley for database migrations
- Jest for unit tests
- Cypress for end to end test
Copy the .env.example
file to .env
and add the database connection information.
You'll also need PostgreSQL for this.
Follow the instructions from the PostgreSQL step in UpLeveled's System Setup Instructions.
Run the following queries inside of psql
to set up the database and the user:
CREATE DATABASE express;
CREATE USER express WITH ENCRYPTED PASSWORD 'express';
GRANT ALL PRIVILEGES ON DATABASE express TO express;
SET ROLE express;
\connect express;