Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 947 Bytes

README.md

File metadata and controls

52 lines (36 loc) · 947 Bytes

nexus+

Nexus example with:

Development

Start dependencies

$ docker-compose up

One-time setup

.env

Create an .env file at the project root

# .env
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/myapp"

Prisma

# Init
$ npx prisma init

# Migrate
$ npx prisma migrate dev --preview-feature

Run development

Via VS Code Remote - Container

Requires Remote - Containers

$ code .
# `Open in Remote Window` by pressing the button in the bottom left of VS Code

Via Command-line

$ npm run dev