Skip to content

API Version 1.0.0

Choose a tag to compare

@Deano-Gibson Deano-Gibson released this 16 Sep 10:26
· 32 commits to main since this release
945e0d2

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/*

Requirements

⚠️ This version is using the development fallback JWT key, intended only for testing. For production, you must set a proper long random secret in User Secrets or environment variables.

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.