Skip to content

API‐reference

Prashant Maurya edited this page Jul 19, 2026 · 1 revision

API Reference

This page is a template. Fill in the exact paths, request/response bodies, and status codes from your actual controller/ classes so the docs stay accurate. Suggested structure based on the features described in the README is below — update as needed.

Base URL

http://localhost:8080

Authentication

Method | Endpoint | Description | Auth Required -- | -- | -- | -- POST | /auth/register | Register a new tenant/admin | No POST | /auth/login | Login, returns JWT | No

💡 Tip

Consider adding Swagger / springdoc-openapi to auto-generate and keep this page always in sync:

xml
<dependency>
  <groupId>org.springdoc</groupId>
  <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  <version>2.5.0</version>
</dependency>

Then this documentation page becomes just a pointer to http://localhost:8080/swagger-ui.html.

Clone this wiki locally