Skip to content

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

Notifications You must be signed in to change notification settings

ozbe/nexus_plus

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

Watchers

Forks