Skip to content

Web app that allows users to post ads for various needs such as services, purchases, rentals, and more.

Notifications You must be signed in to change notification settings

devbutime/nestjs-rest-api-template

Repository files navigation

NestJS REST API Template

This repository serves as a starting point for building APIs using NestJS, a progressive Node.js framework. To use this template, follow these steps:

1. Create a New Repository:

Click on the Use this template button on this repository's GitHub page to create a new repository based on this template.

2. Clone the Repository:

Clone the repository you just created to your local machine using Git:

git clone https://github.com/your-name/your-new-repository.git

3. Install Dependencies

Use the following command to install all necessary project dependencies:

pnpm i

4. Configure Environment Variables

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.

5. Migrate the Database

Use Prisma to reset and apply database migrations:

pnpx prisma migrate reset

6. Start the Development Server

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.

About

Web app that allows users to post ads for various needs such as services, purchases, rentals, and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published