Go Microservices API with standard net/rpc, Docker containers and Kubernetes.
Explore the docs »
·
Report Bug
·
Request Feature
Table of Contents
I created this project as a way to learn more about Go's net/rpc, as well as learn more about Kubernetes and step up from docker-compose.
If you would like to test this project you can clone the repo and use the make
to build and run. You will need Docker to build the docker images and minikube to run the kubernetes cluster.
You will need to edit the env.sample
files and rename them to .env
. You will also need a PostgreSQL database to connect to.
- Clone the repo
git clone https://github.com/rs401/lg.git
- Build the auth service and client API
make build-api make build-auth
- To run locally you will need to:
Open another terminal and:
cd auth ./authsvc
cd api ./authapi
Once the services are running and connected to your db you can send a request to http://localhost:9000/api/signup/ with a json object with a name, email and password in the body.
See the open issues for a full list of proposed features (and known issues).
I welcome any code reviews, tips, suggestions, etc.
Distributed under the MIT License. See LICENSE.txt
for more information.