This project is under development and seeks to demonstrate the process of my course compl 5798 etion work
To run the example locally you need to:
- Clone this repository git clone https://github.com/ruan177/Server
npm install
andnpm install -D
to install the required dependencies.- Create a
.env
file inside the prisma folder and add theDATABASE_URL
value of the MYSQL database instance you would like to use. - Execute
npx prisma generate
to generate the correct data source client code. - Execute
npx prisma prisma migrate dev
to create a new migration. - Execute
npx prisma studio
to open up the Prisma Studio. - Execute
npm run dev
for run the server.