Skip to content

About

Nexus example with Prisma, Docker Compose, Serverless, VS Remote - Containers

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

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

About

Nexus example with Prisma, Docker Compose, Serverless, VS Remote - Containers

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages