For learning purposes I tried to build a URL Shortener. It is very close to Alan Bardales' solution here. It will deviate in the future since I want to extend on his solution.
- Add Swagger UI
- Followed article here
- Run swag init always you change the docs for the api. It uses comments.
- Add response structs (some maybe in common?) --> Isolate health and root endpoints for swagger doc!
- No idea if this is good or just over engineered
- Redirect from /docs to /docs/index.html
- Build simple frontend on top (maybe Vue3?)
- Dockerize application
- Build a browser extension that resolves short links before you click on it
- Add SSL support