Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amanastel/payment-wallet
Designed backend functionalities for a payment wallet system, supporting user registration and authentication, wallet management, and transaction history viewing. Leveraged Java, Spring Boot, Spring Security, Hibernate, and Maven for this individual project completed in three days.
https://github.com/amanastel/payment-wallet
hibernate-jpa java java-8 jwt jwt-authentication lombok maven mysql spring-boot swagger-ui wallet
Last synced: about 2 months ago
JSON representation
Designed backend functionalities for a payment wallet system, supporting user registration and authentication, wallet management, and transaction history viewing. Leveraged Java, Spring Boot, Spring Security, Hibernate, and Maven for this individual project completed in three days.
- Host: GitHub
- URL: https://github.com/amanastel/payment-wallet
- Owner: Amanastel
- Created: 2023-08-08T20:11:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-08T22:26:08.000Z (over 1 year ago)
- Last Synced: 2024-05-01T12:38:52.443Z (8 months ago)
- Topics: hibernate-jpa, java, java-8, jwt, jwt-authentication, lombok, maven, mysql, spring-boot, swagger-ui, wallet
- Language: Java
- Homepage: https://drive.google.com/file/d/1aNMggyabhER8-7r5I6ypPvFDCpnILRQ6/view?usp=sharing
- Size: 83 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Payment System Backend
Welcome to the Payment System Backend project! This project provides backend functionalities for managing user accounts, wallets, and transactions.
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- - [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [API Endpoints](#api-endpoints)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)
- [Acknowledgements](#acknowledgements)## Introduction
This backend application is designed to handle user registration, wallet management, and transaction recording for a payment system.
## Features
- User registration with roles
- Wallet creation and management
- Adding and withdrawing money from wallets
- Viewing transaction history## Getting Started
### Prerequisites
- Java 8 or higher
- Spring Boot
- MySQL
- Maven (for building)### Installation
1. Clone the repository: `git clone https://github.com/amanastel/payment-system-backend.git`
2. Navigate to the project directory: `cd payment-system-backend`
3. Customize the database configuration in `src/main/resources/application.properties` (if needed)
4. Build the project: `mvn clean install`## Usage
1. Run the application: `mvn spring-boot:run`
2. Access the API endpoints using tools like Postman or a browser.## API Endpoints
- `GET /users/hello`: Test endpoint to check if the server is running.
- `POST /users`: Register a new user.
- `GET /users/{email}`: Get user details by email.
- `GET /admin/users`: Get details of all users.
- `PATCH /users/{email}`: Update user details by email.
- `DELETE /users/{email}`: Delete a user by email.
- `GET /admin/role/{role}`: Get details of all users with a specific role.
- `GET /signIn`: Get details of the logged-in user.
- Swagger UI Documentation: [http://localhost:8888/swagger-ui/index.html#/](http://localhost:8888/swagger-ui/index.html#/)## Contributing
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Make your changes and commit them.
4. Push the changes to your fork.
5. Create a pull request explaining your changes.## License
This project is licensed under the [MIT License](LICENSE).
## Contact
For any questions or suggestions, feel free to contact us at [email protected].