Skip to content

Simple example of adopting repository-service pattern with CRUD operations on a MySQL db in Go

License

Notifications You must be signed in to change notification settings

shehab-as/Go-Microservices

Repository files navigation

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

Releases

No releases published

Packages

No packages published