Detactive is no longer active, so we decided to open source various services.
Game logic, user authentication and more.
Make sure you have Bun installed globally. With bun --version you can check if bun is installed on your machine. Then clone the repository and install all dependencies with bun i.
Make sure that you have set up the environment variables as in the template.
You can start the api by running bun run dev.
http://localhost:3000
http://localhost:3000/graphql
Generate new typed schema
bunx drizzle-kit generate:pg
Push to database
bunx drizzle-kit push:pg
Run Drizzle Studio locally
bunx drizzle-kit studio
NOTE: The /graphql interface is only accessible during development (NODE_ENV).
To run tests, run the following command
bun test:unitCore: Elysia.js, Typescript, Drizzle, GraphQL, GraphQL Yoga, GraphQL Shield, GraphQL Middleware
Code Quality: Prettier
Testing: Bun Test
The title of the pull request should be semantic and in lower case.
Please use the Jira-Ticket number as scope.
Some examples:
feat(DT-123): some awesome new feature style(DT-13): some fresh new styles
Do not push directly into release!!!