This repository is dedicated to learning about the technologies NestJS, Prisma ORM, and PostgresSQL. The API was developed with a focus on performance, scalability, and great development experience.
- NestJS - Node.js framework for building scalable applications
- Prisma ORM - ORM for databases, allows for secure and easy database management
- PostgresSQL - relational database management system
- Clone the repository on your local machine.
$ git clone https://github.com/ndelanhese/nest-prisma-postgres.git
- Navigate to the application directory.
$ cd nest-prisma-postgres
- Install the dependencies using the package manager pnpm.
$ pnpm install
- Start the development server.
$ pnpm run start:dev
The application will be available at http://localhost:3000
.
pnpm run start:dev
- starts the development serverpnpm run build
- compiles the application for productionpnpm run start
- starts the application in production modepnpm run migration:dev
- runs database migrations in development environmentpnpm run migration:prod
- runs database migrations in production environment
Contributions are always welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.