35 lines
583 B
Markdown
35 lines
583 B
Markdown
# ParsShop Backend
|
|
|
|
Phase 1 bootstrap for a NestJS backend focused on bearings e-commerce.
|
|
|
|
## Included
|
|
|
|
- PostgreSQL + TypeORM
|
|
- 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. Make sure your PostgreSQL service is running and matches `DB_URL`
|
|
3. Install dependencies:
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
4. Run the app:
|
|
|
|
```bash
|
|
npm start
|
|
```
|
|
|
|
5. Open Swagger:
|
|
|
|
```bash
|
|
http://localhost:3000/docs
|
|
```
|