This repository serves as a starting point for building GraphQL APIs using NestJS, a progressive Node.js framework. To use this template, follow these steps:
Click on the Use this template
button on this repository's GitHub page to create a new repository based on this template.
Clone the repository you just created to your local machine using Git:
git clone https://github.com/your-name/your-new-repository.git
Use the following command to install all necessary project dependencies:
pnpm i
Copy the example .env file to create your own .env file:
cp .env.example .env
Make sure to edit the .env file to include the correct values for your environment.
Use Prisma to reset and apply database migrations:
pnpx prisma migrate reset
Run the development server with the following command:
pnpm run dev
The development server should now be running. You can access the application at http://localhost:3001.