first commit
This commit is contained in:
34
README.md
Normal file
34
README.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user