Skip to content

vincentzhangz/graphql-template

Repository files navigation

GraphQL Template

Basic GraphQL server using GraphQL Nexus 🚀.

Usage

1. Install the dependencies

npm install

2. Setup the PostgreSQL database (using Docker)

docker run --detach --publish 5432:5432 -e POSTGRES_PASSWORD=postgres --name postgres postgres:13

3. Start the server

To interact with the API in a GraphQL Playground, all you need to do is execute the dev script defined in the package.json:

npm run dev

4. Run the tests

npm run test

Documentation

You can find the docs for Nexus here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published