Deck Forge is a browser based game engine and editor for creating and sharing deck builder games.
- UI: Vite + React + MUI, hosted on Vercel
- API: tRPC + Express, hosted on Vercel Serverless Functions
- DB: Prisma (mysql) + PlanetScale (via auto migrations)
- Tests: Jest (unit) / Cypress (component/e2e) + Testing Library
Before you can start developing there are a few things you need to do:
Create a .env.local file in the root of the project and add the following:
DATABASE_URL=<connection string to your development mysql database>Run yarn db:push to update your development database
Run yarn db:seed to seed your database
yarn devTo start the local development serveryarn test:unitto run unit testscypress open|runto develop or run e2e tests (needs the local dev server running)yarn lint|lint:fixto display or fix linting errors
Contributions are welcome! Please open an issue or PR to discuss any changes. PRs will only be merged once they are well tested and pass all checks.