commit 9c37173552779118484388151e94182bc0961039 Author: DrMesta103 Date: Mon Mar 23 10:58:44 2026 +0300 first commit diff --git a/README.md b/README.md new file mode 100644 index 00000000..22b689d1 --- /dev/null +++ b/README.md @@ -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 +```