feat: Add Auth system with Login UI
Deploy Development / deploy (push) Successful in 39s

Backend:
- Auth router (login, register, logout)
- Profiles router (get current profile)
- Registered in main.py

Frontend:
- LoginPage with login/register tabs
- Dashboard with welcome screen
- Simplified AuthContext for Shinkan
- Protected routes in App.jsx
- Public routes redirect when logged in

Ready for testing!

version: 0.1.0
This commit is contained in:
Lars committed 2026-04-21 14:56:16 +02:00
1 parent fd5efa8662
commit efc2a11a76
8 files changed
+1045 -148

No files matched your search

+9 -4
View File
@@ -69,10 +69,15 @@ def read_root():
"health": "/health"
}
# TODO: Register routers here as they are created
# from routers import auth, profiles, clubs, groups, skills, methods, exercises
# app.include_router(auth.router, prefix="/api")
# app.include_router(profiles.router, prefix="/api")
# Register routers
from routers import auth, profiles
app.include_router(auth.router, prefix="/api")
app.include_router(profiles.router, prefix="/api")
# TODO: Add more routers as they are created
# from routers import clubs, groups, skills, methods, exercises
# app.include_router(clubs.router, prefix="/api")
# ... etc
if __name__ == "__main__":