Restfull Api for for querying information about users and cars.
- Java 11
- Maven
- node.js
- npm
- To build the Java app run
./mvnw clean package - To run the Java app run
java -jar target/cars-rest-api-0.0.1-SNAPSHOT.jar - To start the front end, cd into frontend-react and run
npm start
-
Swagger UI: https://hansab-cars-api.herokuapp.com/swagger-ui.html# -
Example 1. get all users: https://hansab-cars-api.herokuapp.com/api/users -
Example 2. Filter&Sort users:https://hansab-cars-api.herokuapp.com/api/users?find=Teet&sort=name:desc
CI/CD is implemented using Github Actions.
If all tests pass successfully, package will be deployed/updated on Heroku
