feat: initialize full-stack architecture with backend routes, database schema, and glassmorphic frontend UI

This commit is contained in:
2026-05-13 00:12:19 +03:00
parent bd73f18d5c
commit 0732acbda5
21 changed files with 1937 additions and 307 deletions

27
docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
# docker-compose.yml
version: '3.8'
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "5000:5000"
environment:
# Для Windows/Mac используйте host.docker.internal для доступа к локальной БД
- DATABASE_URL=postgresql://user:password@host.docker.internal:5432/automarket
- JWT_SECRET=your_super_secret_key
volumes:
- ./backend/uploads:/app/backend/uploads
extra_hosts:
- "host.docker.internal:host-gateway"
frontend:
image: nginx:alpine
ports:
- "80:80"
volumes:
- ./frontend:/usr/share/nginx/html
depends_on:
- backend