Initial commit
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# Salon Booking Platform
|
||||
|
||||
Scaffolded Django + React starter for a salon booking platform.
|
||||
|
||||
## Backend
|
||||
|
||||
Location: `backend/`
|
||||
|
||||
### Setup
|
||||
|
||||
1. Create a virtualenv and install dependencies.
|
||||
2. Copy `backend/.env.example` to `backend/.env` and adjust values.
|
||||
3. Run migrations and start the server.
|
||||
|
||||
### Core API endpoints (current scaffold)
|
||||
|
||||
- `POST /api/auth/register/`
|
||||
- `POST /api/auth/token/`
|
||||
- `POST /api/auth/token/refresh/`
|
||||
- `GET/PATCH /api/auth/me/`
|
||||
- `POST /api/auth/otp/request/`
|
||||
- `POST /api/auth/otp/verify/`
|
||||
- `POST /api/auth/social/<provider>/` (placeholder)
|
||||
- `GET /api/salons/`
|
||||
- `GET /api/salons/<id>/`
|
||||
- `GET /api/salons/<id>/services/`
|
||||
- `GET /api/salons/<id>/staff/`
|
||||
- `GET /api/salons/<id>/reviews/`
|
||||
- `GET/POST /api/bookings/`
|
||||
- `GET /api/bookings/<id>/`
|
||||
- `GET/POST /api/payments/`
|
||||
|
||||
## Frontend
|
||||
|
||||
Location: `frontend/`
|
||||
|
||||
### Setup
|
||||
|
||||
1. Install dependencies via `npm install`.
|
||||
2. Run `npm run dev`.
|
||||
|
||||
The dev server proxies `/api` to `http://localhost:8000`.
|
||||
Reference in New Issue
Block a user