Browser Based game written in Nuxt 3 to learn more.
Join us at Discord
- Nuxt3
- Tailwind CSS (UI)
- NestJs (Framework)
- Postgresql (DB)
- Prisma (ORM)
- Node (version specified in .nvmrc file)
- Docker compose
Make sure to install the dependencies in both /web
and /api
folders.
# yarn
npm install
Start up docker database
docker compose up -d
After starting database perform database migration in /api
folder
npx prisma migrate dev
Afterwards you should be able to run application for development
WEB
cd web
npm run dev
And API
cd api
npm run start:dev
In /api
folder
Running prisma studio to browse database on localhost:5555
npx prisma studio
Format prisma file
npx prisma format
Browse database
npx prisma studio
```bash
npx nuxi typecheck
Run linter (some things may be fixed by it)
npm run lint:fix
npm run b
Run linter (some things may be fixed by it)
npm run format