
Welcome to ManageWise, a backend service built using Spring Boot with Kotlin, designed to efficiently manage business, client, and user data. This repository contains the REST controllers for managing core application features.
- Business management with secure user authentication.
- Client creation with structured input validation.
- Health check endpoint for service monitoring.
- User management including creation, retrieval, and updates.
- Standardized error handling with meaningful response messages.
- OpenAPI/Swagger integration for API documentation.
Manages business-related operations.
-
POST /v1/business
Creates a new business.- Requires
userHash
in the request attributes for authentication. - Request Body:
CreateBusinessDTO
- Responses:
200 OK
: Business Created Successfully.401 Unauthorized
: Invalid User.
- Requires
Handles client creation and management.
-
POST /v1/client
Creates a new client.- Request Body:
CreateClientRequestDto
- Responses:
200 OK
: Client created successfully.500 Internal Server Error
: An error occurred while creating the client.
- Request Body:
Provides service health status.
-
GET /
Returns service status.- Response Body:
{"status": "up"}
- Response Body:
Manages user-related operations including creation, retrieval, and updates.
-
POST /v1/user
Creates a new user.- Requires
userHash
in the request attributes for authentication. - Request Body:
CreateUserDto
- Responses:
200 OK
: User successfully created.401 Unauthorized
: Invalid User.
- Requires
-
GET /v1/user/{userHash}
Retrieves user details by their unique hash. -
PATCH /v1/user/{userHash}
Updates user details by their unique hash.
Feel free to reach out for any questions or contributions:
- Email: [email protected]
- GitHub: https://github.com/inderjeet29