- Spring Boot
- Java 8
- Maven 3
- Integration test
- VueJS
- Java 8
- Maven 3
mvn clean spring-boot:run
mvn clean verify
- Get all stocks
curl http://localhost:8080/api/v1/stocks
- Get stock 1
curl http://localhost:8080/api/v1/stocks/1
- Update price of stock 1
curl -X PUT -d 'currentPrice=123' http://localhost:8080/api/v1/stocks/1
- Create a new stock
curl -H "Content-Type: application/json" -X POST -d '{"name":"S11","currentPrice":"11"}' http://localhost:8080/api/v1/stocks
- Stock list front end: access to
http://localhost:8080