/blood-donations

App to track blood donations.

Primary LanguageTypeScript

Blood Donations

App to track blood donations.

Installation

Clone the repository and install the dependencies:

npm install

Environment Setup

Copy the .env.example file to a new file named .env and fill in the environment variables with your own settings.

Database

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

Running the Application

Start the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.