first commit

This commit is contained in:
2026-03-23 10:58:44 +03:00
commit 9c37173552

34
README.md Normal file
View File

@@ -0,0 +1,34 @@
# ParsShop Backend
Phase 1 bootstrap for a NestJS backend focused on bearings e-commerce.
## Included
- PostgreSQL + TypeORM
- Docker Compose for PostgreSQL, Redis, and MinIO
- Global validation pipe
- Standard API response interceptor
- Core entities: User, Product, Category
- OTP phone auth + JWT access/refresh tokens
- RBAC guards for roles and permissions
## Quick Start
1. Copy `.env.example` to `.env`
2. Start infrastructure:
```bash
docker compose up -d
```
3. Install dependencies:
```bash
npm install
```
4. Run the app:
```bash
npm run start:dev
```