The Loan Tracker API is a RESTful API built with Golang using the Gin framework. It allows users to manage loans, apply for new loans, and view loan statuses. Admin functionalities are also included for monitoring system activity and managing loan records.
Features
User Management
Loan Management
Admin Functionalities
Security
Technologies
Golang: The programming language used.
Gin: Web framework for building the API.
MongoDB: NoSQL database for storing data.
Gingonic: Middleware for enhanced functionality.
JWT-go: For JSON Web Token handling.
bcrypt: For secure password hashing.
Endpoints
User Endpoints
POST /users/register
POST /users/verify-email
POST /users/reset-password
Loan Endpoints
POST /loans/apply
GET /loans/status
Admin Endpoints
GET /admin/logs
PUT /admin/loans/{loan_id}
Installation
Clone the repository:
Navigate to the project directory:
Install the necessary dependencies:
Configure environment variables as needed. Create a config.yaml file based on config_sample.yaml.
Run the application:
Documentation
API documentation can be accessed using Postman. Import the provided Postman collection file located in the postman
Contact
For any questions or issues, please contact yeneineh seiba.
Like this project
0
Posted Oct 26, 2024
Loan Tracker API is a backend service built with Golang, Gin, JWT-Go, and bcrypt. It features user registration, login, password management, and admin controls…