This is a toy project to experiment with RUST, in this case working directly with hyper.rs to build a small rest API to get short urls.
As storage I am using MongoDB
Provided in the docker compose, mongo DB init will create the user, collection and indexes required by the app. You can run only mongodb from the docker compose and then run from IDE the rust app, or start everything if you only want to play with the setup.
docker compose up -d mongodb
docker compose up -d
TODO:
- Testing, been playing around many new things and follow many examples, so testing and refactoring is next goal
- Metrics, adding metrics and bringing a grafana/prometheus set up for experimentation
- Bring some load testing to verify metrics, goose set up from my rocket tests can be a starting point