- Make sure you're using NodeJS v12. You can use
nvm to manage node versions on your system
(run
nvm use
in the repository to automatically use the correct Node version for the current shell). - Install dependencies with
npm install
. - Install Docker and docker-compose.
- Run a local PostgreSQL database on port 5432 with
docker-compose up -d
. - Migrate the dabatase with
npm run migrate
and insert development data withnpm run seed
. - Run the app in development mode with
npm start
The api is available at http://localhost:4000/
and you can use the Playground if needed.
Feel free to check the graphql model directly in the code src/graphql/typeDefs.graphql