Skip to content

This Spring Boot REST API manages user data and login credentials, providing CRUD endpoints for user data and login operations. Information is stored in MySQL tables. Part of full stack Web banking app at https://github.com/rajeshrah22/simple-banking-app

Notifications You must be signed in to change notification settings

rajeshrah22/banking-app-databse-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PicPayData

PicPayData is a Spring Boot REST API that manages user data and login credentials. The API includes endpoints for creating and deleting users and logins, retrieving user and wallet information, adjusting wallet balances, and performing transactions between users within a MySQL databse.

Technologies Used

  • Java 8
  • Spring Boot 3.0.3
  • MySQL 8.0.32
  • Maven 3.9.0

Getting Started

  1. Clone the repository to your local machine.
  2. Install Java 8 and Maven.
  3. Configure your MySQL database connection in application.properties.
  4. Run mvn clean install to build the project.
  5. Run mvn spring-boot:run to start the server.

Endpoints

  • GET /user/{cpf}: retrieves a user by CPF.
  • GET /user/byEmail: retrieves a user by email.
  • GET /userWallet/{cpf}: retrieves a user's wallet by CPF.
  • POST /adjustAmount/{cpf}/{amount}: adjusts a user's wallet balance by a specified amount.
  • POST /transaction: performs a transaction between two users.
  • POST /user: creates a new user.
  • POST /login: creates a new login.
  • GET /login: retrieves a login by username.
  • POST /login/deleteLogin: deletes a login by username.
  • GET /user/usernameContains/{numResults}: retrieves a list of users whose names contain a specified substring.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This Spring Boot REST API manages user data and login credentials, providing CRUD endpoints for user data and login operations. Information is stored in MySQL tables. Part of full stack Web banking app at https://github.com/rajeshrah22/simple-banking-app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages