eadfbeab35
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2.6 KiB
2.6 KiB
2026-04-12 — Initial project scaffold
Timestamp: 2026-04-12T14:22:00
Summary
Created the initial fullstack SaaS project structure from scratch.
Files Added
Backend
backend/pyproject.toml— project dependencies (FastAPI, SQLAlchemy, Alembic, pydantic-settings, python-jose, passlib)backend/alembic.ini— Alembic configurationbackend/alembic/env.py— async Alembic migration environmentbackend/alembic/script.py.mako— migration file templatebackend/app/__init__.pybackend/app/main.py— FastAPI app, CORS middleware, router mountsbackend/app/database.py— async SQLAlchemy engine, session factory,Basebackend/app/deps.py—get_current_userFastAPI dependency (JWT validation)backend/app/core/__init__.pybackend/app/core/config.py—Settingsvia pydantic-settings, reads.envbackend/app/core/security.py— bcrypt password hashing, JWT encode/decodebackend/app/models/__init__.pybackend/app/models/user.py—UserORM model (id, email, hashed_password, full_name, is_active, is_superuser)backend/app/schemas/__init__.pybackend/app/schemas/user.py—UserCreate,UserOut,TokenPydantic schemasbackend/app/routers/__init__.pybackend/app/routers/auth.py—POST /api/auth/register,POST /api/auth/loginbackend/app/routers/users.py—GET /api/users/me
Frontend
frontend/package.json— dependencies (React 18, TypeScript, Vite, React Router v6, TanStack Query, Axios)frontend/vite.config.ts— Vite config,/apiproxy to:8000frontend/tsconfig.json— strict TypeScript configfrontend/index.htmlfrontend/src/main.tsx— React root, QueryClientProvider, BrowserRouterfrontend/src/App.tsx— route tree,PrivateRouteguardfrontend/src/api/client.ts— Axios instance, auth interceptor,login,register,getMefrontend/src/hooks/useAuth.ts— JWT token state,login,logoutfrontend/src/pages/LoginPage.tsxfrontend/src/pages/RegisterPage.tsxfrontend/src/pages/DashboardPage.tsx
Root
docker-compose.yml— postgres, backend, frontend services.env.example.gitignoreCLAUDE.md
2026-04-12 — Added README and changelog
Timestamp: 2026-04-12T14:45:00
Summary
Added project README with overview and installation guide. Created changelog/ directory and this initial entry.
Files Added
README.md— project overview, stack table, current state, Option A (Docker) and Option B (local) install guides, env variable reference, dev commandschangelog/2026-04-12_initial-scaffold.md— this file