GPT
GPT (Goru Party T-shirt) is a platform for IUT CSE-19 students to choose each others' nickname for Goru Party.
Install / Use
/learn @ir-rafio/GPTREADME
Development
Install dependencies
bun install
Run bun prepare to initialize husky.
Database setup
Spin up postgres
If you already have a postgres running, skip this step.
Populate .dockerenv file. You can use .dockerenv.example.
bun db:start
To stop the database run bun db:stop
Prisma setup
bun prisma migrate dev
bun prisma generate
Run dev server
Make sure to populate all environment variables from .env.example.
Then link the .env file in clients folder.
cd packages/client && ln -s ../../.env; cd -
bun dev
