A Spring Boot API for managing Accounts and Vehicles with MySQL integration.
This project is a REST API built with Java and Spring Boot, designed to manage product data. It implements CRUD operations for products and leverages MongoDB for data persistence. The API follows best practices for Spring Boot development and provides a scalable foundation for building enterprise applications.
- Spring Web(Build web, including REST, applications using Spring MVC. Uses Apache Tomcat as the default embedded container.)
- MySQL Driver(MySQL JDBC driver.)
- Sping Data JPA(Persist date in SQL stores with Java Persistence API using Spring Data and Hibernate.).
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Prerequisites
Java 17 or higher Maven Mysql or other Sql you prefer Your favorite IDE (IntelliJ IDEA, Eclipse, etc.)
Installing
1.Clone the repository
- Copy -> git clone https://github.com/Loureiro32/JavaSpringBoot.git
2.Navigate to the project directory
- Copy -> cd JavaSpringBoot
3.Build the project
- Copy -> mvn clean install
4.Run the application
- Copy -> mvn spring-boot:run
The server will start on the default port 8080.
Some Examples Endpoints already exists in this API
- [GET api/v1/account]: Get all Accounts
- [GET /api/v1/account/{id}]: Get a specific Account
- [POST api/v1/account]: Create a new Account
- [PUT api/v1/account/{id}]: Update an existing Account
- [DELETE api/v1/account/{id}]: Delete a Account
- Java - Programming Language
- Spring Boot - Server Framework
- Mysql - Database
- Maven - Dependency Management
- @Loureiro32 - Development and maintenance
See also the list of contributors who participated in this project.
- Inspired by best practices in REST API design
