Loading repository data…
Loading repository data…
iljakalistratov / repository
A Rest API with all CRUD functions for Cars with an Angular Frontend.
A web application based on a restful CRUD API, that allows you to manage an Inventory of cars, with options to list, create, update and delete entrys. The Project utilizes the Spring Boot framework in order to manage it's API, postgres to store the data and angular to display it in the front end.
choco install openjdk:11 maven docker nodejs minikubenpm intsall -g typescript angularspringboot to the host file and point it towards the minikube ip
192.168.99.107 springbootbash ./setup.shhttp://minikubeeval "$(minikube docker-env --shell=bash)" and repeat steps 2-3choco install openjdk:11 maven docker nodejs minikubenpm intsall -g typescript angularultraservicespringboot to the host file and point it towards localhost
localhost springbootdocker-compose up -d -f ./docker-compose.ymlmvn package && java -jar ./target/RestfulCarlist-0.0.1.jarcd ./src/main/angular && ng serve --openhttp://localhost:4200mvn javadoc:javadoc in the project root./target/site/apidocs in your project directoryhttp://minikube/backend/swagger-ui/ at runtimedocker-compose up -ddocker exec -it postgres bashpsql -U docker./CarService from the root directoryng serve --openhttp://minikube/cars or http://minikube/http://minikube/create-carhttp://minikube/update-car/"id"Create entries: POST-Request to minikube:30002/car/"id" and a JSON Object in the body containing the following items:
Read entries
http://minikube:30002/carlisthttp://minikube:30002/car/"id" (here the id 19 is being checked)Update entries: PUT-Request to http://minikube:30002/car/"id"
Delete entries: DELETE-Request to http://minikube:30002/car/"id"
http://minikube:30002/swagger-ui/kubectl port-forward prometheus-prometheus-prometheus-oper-prometheus-0 9090kubectl port-forward deployment/prometheus-grafana 3000