https://github.com/mochrks/crud-nestjs-api
the implementation of a CRUD API using the NestJS framework. It includes Create, Read, Update, and Delete operations with a scalable and modular architecture. The repository utilizes TypeScript, Prisma ORM for database interactions,
https://github.com/mochrks/crud-nestjs-api
nestjs prisma psotgresql typescript
Last synced: 3 months ago
JSON representation
the implementation of a CRUD API using the NestJS framework. It includes Create, Read, Update, and Delete operations with a scalable and modular architecture. The repository utilizes TypeScript, Prisma ORM for database interactions,
- Host: GitHub
- URL: https://github.com/mochrks/crud-nestjs-api
- Owner: Mochrks
- Created: 2024-11-21T07:16:01.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-02T02:45:33.000Z (6 months ago)
- Last Synced: 2025-01-12T08:36:01.742Z (5 months ago)
- Topics: nestjs, prisma, psotgresql, typescript
- Language: TypeScript
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CRUD API NestJS
![]()
### Project Overview
This project is a RESTful API for Order Management built using **NestJS**, utilizing **Prisma** as the ORM for database interactions, and **PostgreSQL** as the database. It provides comprehensive endpoints for managing orders, menus, carts, and vouchers.
### Tech Stack & Dependencies



### Setup & Installation
- **Clone the repository**
```bash
git clone https://github.com/Mochrks/crud-nestjs-api.git
cd crud-nestjs-api
```- **Install dependencies**
```bash
npm install
```- **Configure Database**
- Update `.env` file with your PostgreSQL credentials:
```dotenv
DATABASE_URL="postgresql://your_username:your_password@localhost:5432/your_database"
```- **Run Prisma Migrations**
```bash
npx prisma migrate dev --name init
```- **Run the application**
```bash
npm start
```## Connect with me:
[](https://github.com/mochrks)
[](https://youtube.com/@Gdvisuel)
[](https://instagram.com/mochrks)
[](https://linkedin.com/in/mochrks)
[](https://behance.net/mochrks)
[](https://dribbble.com/mochrks)