Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DriveFast API

This is the repository for the DriveFast API, which can be used as a learning project!

Structure

The API has the following structure:

- com/act/cars
    / application
        / dto
            / client
            / lease
            / vehicle
        / projections
        / service
    / domain
        / entities
        / exception
            / catchers
            / pojo
        / repository
    / web
        / controller
        / mapper

Endpoints

The main endpoints are:

  • /clients
  • /vehicles
  • /leases

The subendpoints are all /{id}, but there are some specific ones:

  • /clients/summary
    • Returns a summary of expenses from all clients
  • /leases/client/{clientId}
    • Returns all leases from the specified client
  • /vehicles/available
    • Returns all the available vehicles

Tech Stack

  • Java - v21
  • Spring Boot - v3.51
  • Maven - v4.0
  • MySQL - v?

How to run?

  1. Clone this reposiory:
git clone https://github.com/gabrielEFagundes/drive-fast-api
  1. Open the project and run it with Maven:
# linux/macos
cd ./drive-fast-api ; mvn spring-boot:run

# windows
cd ./drive-fast-api && mvn spring-boot:run

2.1. Optionally, you can run it as JAR:

# linux/macos
cd ./drive-fast-api ; java -jar target/CarsApplication.jar

# windows
cd ./drive-fast-api && java -jar target/CarsApplication.jar

Developer

gabrielEFagundes

About

A performance-driven API for learning and training Spring Boot and RESTful APIs.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages