You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn install
# start database
docker-compose up -d
# migrate schema
yarn migrate:up
# seed the database
yarn seed
# start development server
yarn dev
# production build
yarn build
Update schema
Make change to prisma/schema.prisma
Run yarn migrate:save && yarn migrate:up
Run yarn generate to generate client
Docker support
# build docker image
docker build -t graphql-nexus-prisma-starter .# run in local with config mount as volume
docker run -it --rm -p "127.0.0.1:4000:4000" \
graphql-nexus-prisma-starter
# test the server
curl -vL http://localhost:3000/
About
Template project for nexus x prisma x Koa x graphql x postgres