Initial fullstack scaffold: Events, Guests, Budget, Bookings

- Express backend with PostgreSQL (JWT auth, full CRUD)
- React + Vite + TailwindCSS frontend in Hebrew (RTL)
- Features: Digital Booking System, Guest Management, Smart Budget Management
- Docker Compose with postgres healthcheck
- Auto-runs migrations on startup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Fullstack Developer
2026-02-21 18:28:03 +00:00
parent ae6f833207
commit e003c7146d
28 changed files with 2034 additions and 0 deletions

36
docker-compose.yml Normal file
View File

@@ -0,0 +1,36 @@
version: '3.8'
services:
app:
build: .
expose:
- "3000"
environment:
- PORT=3000
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/airewit
- JWT_SECRET=airewit-jwt-secret-2026
- NODE_ENV=production
depends_on:
postgres:
condition: service_healthy
restart: unless-stopped
postgres:
image: postgres:15-alpine
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=airewit
expose:
- "5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d airewit"]
interval: 5s
timeout: 5s
retries: 10
restart: unless-stopped
volumes:
pgdata: