go-link-shortener-backend, v1.10
Posted on

Back-end of the service for shorting links.
Improve the distributing and the documentation, and perform the refactoring.
Change Log
- refactoring:
- simplify the
handlerspackage:- move to the
gatewayspackage; - merge with the
routerpackage; - simplify the
handlers.NewRouter()function;
- move to the
- update the github.com/thewizardplusplus/go-http-utils package:
- use the
httputils.ReadJSON()function; - use the
httputils.WriteJSON()function; - use the
httputils.ParsePathParameter()function;
- use the
- simplify the
- distributing:
- use the wait-for-it.sh script to wait for dependencies to become available;
- complete the Docker Compose configuration:
- add the Redis Commander service;
- add the mongo-express service;
- add the e3w service;
- add the API description in the format of a Postman collection.
Repository
Link: https://github.com/thewizardplusplus/go-link-shortener-backend/tree/v1.10.
Content: code.
License: MIT.