The backend to the TUMi webservices, handles data access, authentication and webhooks for the TUMi apps except Party Animals.
Clone the project
git clone https://github.com/heddendorp/tumi.git
Go to the project directory
cd tumi/server
Install dependencies
yarn install
Start the server
yarn dev
Ther server needs a couple of third party services and environment configuration.
To make things easier, a docker-compose.yml
is provided that helps you.
You can find the environment config that goes with it in .env.development
.
The docker compose file has a postgres set up. You can reset the db in case there are any issues after starting the docker setup.
yarn prisma:reset-dev
yarn prisma:seed-dev
These commands bring the db into sync with the schema and seed it.
Currently the local azure blob storage solution does not work, help is appreciated.
Relevant documentation for this project is listed below to give you a starting point.
- Prisma For database access
- nexus prisma To generate GraphQL types from prisma
- nexus Code first GraphQL schema library
- Replace nexus and nexus prisma with pothos