Skip to content

bahmutov/next-js-example-may-2020

 
 

Repository files navigation

Next.js

Example ci status badges status renovate-app badge cypress version next version

  • Next.js
  • Jest
  • Cypress.io

Database Setup

Copy the .env.example file to .env and add the database connection information.

You'll also need PostgreSQL for this.

PostgreSQL Installation instructions

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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.3%
  • TypeScript 24.7%