From 9c37173552779118484388151e94182bc0961039 Mon Sep 17 00:00:00 2001 From: DrMesta103 Date: Mon, 23 Mar 2026 10:58:44 +0300 Subject: [PATCH] first commit --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 README.md 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 +```