https://github.com/lnderjeet29/managewise
A backend service for managing business data efficiently and securely.
https://github.com/lnderjeet29/managewise
authentication-backend aws docker kotlin management management-system role-based-access-control rolebasedauthrorization spring-boot
Last synced: 3 months ago
JSON representation
A backend service for managing business data efficiently and securely.
- Host: GitHub
- URL: https://github.com/lnderjeet29/managewise
- Owner: lnderjeet29
- Created: 2024-08-23T19:04:04.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T07:21:46.000Z (over 1 year ago)
- Last Synced: 2025-02-17T15:52:03.788Z (over 1 year ago)
- Topics: authentication-backend, aws, docker, kotlin, management, management-system, role-based-access-control, rolebasedauthrorization, spring-boot
- Language: Kotlin
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ManageWise - REST API Controllers
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.
🚀 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.
📂 Controller Overview
1. BusinessController
Manages business-related operations.
Endpoints:
-
POST /v1/business
Creates a new business.
- Requires
userHashin the request attributes for authentication. - Request Body:
CreateBusinessDTO - Responses:
-
200 OK: Business Created Successfully. -
401 Unauthorized: Invalid User.
-
- Requires
2. ClientController
Handles client creation and management.
Endpoints:
-
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:
3. HealthStatusController
Provides service health status.
Endpoints:
-
GET /
Returns service status.
- Response Body:
{"status": "up"}
- Response Body:
4. UserController
Manages user-related operations including creation, retrieval, and updates.
Endpoints:
-
POST /v1/user
Creates a new user.
- Requires
userHashin 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.
💬 Contact
Feel free to reach out for any questions or contributions:
- Email: inderjeetdev33@example.com
- GitHub: https://github.com/inderjeet29