A Java Spring Boot containerized API example
Technologies used:
- Java: API via gin
- MySQL: Database that holds the Task data
- Docker: containerize the API and Database for local development
- Maven: a project management tool
For local development, we use Docker to containerize the API and MySQL database
- Install Java 17 (OpenJDK 17.0.2)
- via Chocolately for Windows
- via Homebrew for Mac
- Install Docker (Desktop and CLI)
- via Chocolately for Windows
- via Homebrew for Mac
- (Optional) Install Docker VSCode Extension. Helps with Syntax highlighting and autocompletion.
- Clone repo
- Run
make startat the top level directory to build and run the API and MySQL docker containers - Other make targets:
make stop: stops and removes the docker containers
I appreciate feedback and contribution to this repo! Feel free to create a PR with your changes. I plan to add additional things like a PR template, etc. to make the contribution process more formal.