Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudacademy/stocks-api
Stocks API - Spring Boot App
https://github.com/cloudacademy/stocks-api
api java maven spring-boot
Last synced: 3 days ago
JSON representation
Stocks API - Spring Boot App
- Host: GitHub
- URL: https://github.com/cloudacademy/stocks-api
- Owner: cloudacademy
- Created: 2023-05-01T09:28:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-10T23:26:51.000Z (about 1 year ago)
- Last Synced: 2024-04-14T07:42:47.505Z (7 months ago)
- Topics: api, java, maven, spring-boot
- Language: Java
- Homepage:
- Size: 996 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stocks API
Microservices Stock Application API![Stocks App](/docs/stocks.png)
## Build Instructions
1. Build API container image:
```
docker build -t cloudacademydevops/stocks-api:v2 .
```## Container Launch Instructions
The API container image can be launched using the following commands:
- Starts the container instance with MYSQL connection and authentication details:
```
docker run --rm -it --name stock-api --env DB_CONNSTR=jdbc:mysql://db_server:3306/cloudacademy --env DB_USER=admin --env DB_PASSWORD=secret123 -p 8080:8080 cloudacademydevops/stocks-api:v2
```