- Clone this repository
- Install all dependencies using
yarn
ornpm install
- Create your own .env file using the .env.example template
- Run all migrations using
yarn prisma migrate dev
ornpx prisma migrate dev
- May be necessary run
yarn prisma generate
ornpx prisma generate
- Start the server with
yarn dev
ornpm dev
- If you want Rest:
git checkout rest-api
- If you want GraphQL:
git checkout graphql-api
- If you just write queries:
git checkout master
and write your own queries inserver.ts