- Next.js
- Postgres.js
- Jest
- Cypress.io
- GitHub Actions
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 <database name>;
CREATE USER <user name> WITH ENCRYPTED PASSWORD '<user password>';
GRANT ALL PRIVILEGES ON DATABASE <database name> TO <user name>;
Then, to connect to the database using this new user, quit psql
and reconnect:
\q
psql -U <user name> <database name>