This repository is a seed to start GraphQL-Modules projects.
It includes a couple of modules which depend on each other, but in the future I will expand it to include an User module and an Authentication module as well.
To get started locally, follow these instructions:
- Clone to your local computer using
git
. - Make sure that you have Node installed; see instructions here.
- Make sure that you have
yarn
installed; see instructions here. - Run
yarn
(no arguments) from the root of your clone of this project.
To run the seed, follow these instructions:
yarn generate
. This will Generate server-side TypeScript types.yarn start
. This will use ts-node to compile and run the project.
If you want it to automatically restart the application when changes in the directory are detected, you can use yarn dev
instead (it's backed by nodemon).