https://github.com/ericklv/cart-backend-api
https://github.com/ericklv/cart-backend-api
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ericklv/cart-backend-api
- Owner: ericklv
- Created: 2023-03-17T06:32:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T07:56:26.000Z (about 3 years ago)
- Last Synced: 2025-05-31T18:34:30.362Z (about 1 year ago)
- Language: Java
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo Cart API
## About
This is a demo project using Spring Boot and Java 17 with cache ena. You need an IDE with Lombok support. TTL is enabled as bean in principal class and time has been configurated in properties.
## Configuration
### Configuration Files
Folder **src/resources/** contains config files for **shopping-cart** Spring Boot application.
* **src/resources/application.properties** - main configuration file. Here it is possible to change admin username/password,
as well as change the port number.
## How to run
### Maven Wrapper
#### Using the Maven Plugin
Go to the root folder of the application and type:
```bash
$ chmod +x ./mvnw
$ ./mvnw spring-boot:run
```
### H2
Console URL : [H2](http://localhost:8081/database/h2)
### Swagger
Docs URL: [Swagger](http://localhost:8081/swagger-ui.html#/)
Note: If you change server port in properties you need change port in both urls.