App to track blood donations.
Clone the repository and install the dependencies:
npm install
Copy the .env.example file to a new file named .env and fill in the environment variables with your own settings.
Generate prisma client (run on schema changes):
npx prisma generate
Run initial migration:
npx prisma migrate dev
Seed the database:
npx prisma db seed
Reset database (also seeds database):
npx prisma migrate reset
To interact with the database using a GUI, open Prisma Studio:
npx prisma studio
Start the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.