Repository navigation
API Version 1.0.0
API Version 1.0.0
Overview
This is the first stable working release of the SummitAPI. It includes all the core functionality for user registration, login, habits, check-ins, settings, and uploads. Swagger UI has been successfully tested.
Features
-
Users
- Register and login endpoints
- JWT authentication
-
Habits
- Create new habits
- List existing habits
-
Check-ins
- Record daily completions
- Idempotent check-ins by habit and day
-
Settings
- Get and update user preferences (theme, notifications)
-
Uploads
- File uploads via
multipart/form-data - Files served back from
/uploads/*
- File uploads via
Requirements
Example config for production:
"Jwt": {
"Issuer": "SummitApi",
"Key": "LONG_RANDOM_SECRET"
}Notes
- Database: SQLite (auto-created if missing).
- Swagger: available at
/swagger. - All secured routes require a valid Bearer token from
POST /api/users/login.
✅ Swagger tested and endpoints confirmed working.