Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 694 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 694 Bytes

Go-Microservices

Simple Example of adopting Repository-Service pattern with MySQL database in Go

This repo provides a simple example of adopting repository-service pattern with CRUD operations on a MySQL database.

Simple High-level Architecture

You can import Go-Microservice-REST-API.postman_collection.json for local testing.

Note 🔴: You need to install MySQL server and initialize a database ("todo") if you want to test it locally

Dockerizing it

docker build -t go-microservice .

docker run -p 8080:8080 go-microservice

Give it a ⭐ if this repo was helpful to you