Create a micro service for handling user accounts. Written in golang.
Minimum requirements:
Enable go modules and go dep integration.
go run main.go
In a browser, navigate to:
http://localhost:80/api/ping
You should see:
{"ok":true,"pong":true}
Simply run in the background with a docker-enabled machine:
docker-compose up -d
Again, the ping check with this URL should return a valid JSON response.
http://localhost:80/api/ping
swagger.yml
The APIs here should conform to OpenAPI as much as possible.
In a web browser, go to:
Paste the contents of swagger.yml
to the editor.
Make the changes on the editor.
Copy the contents on the editor and paste in swagger.wml
.
Commit the new codes and submit a pull request.
The goal of this microservice to handle only API calls for user accounts.
The first part involves CRUD operations. (completed)
The second part involves authentication and authorization.
The third part involves integration with external microservices and authenticate over JWT tokens.
Some areas of enhancements for this microservice may be: