Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashkarin/go-hellofresh

A simple service to work with recipes.
https://github.com/ashkarin/go-hellofresh

Last synced: 7 days ago
JSON representation

A simple service to work with recipes.

Awesome Lists containing this project

README

        

# go-hellofresh
This mini project demonstrates how the service to work with recipes can be organized. Since we don't need to do projections over the data, the MongoDB was used as a data storage.

The implementation was driven by the integration tests, which can be turned on by setting `TEST` in `docker-compose.yaml` to `'true'`.

Additionally, a set of Python tools were provided. These tools allow downloading the data from the website in JSON format, transform it according to the recipe schema and push to the database.

## Example
```
docker-compose up --build
python scripts/steal_recepies.py 0 500 --json-pretty --output data.json
python scripts/store_recepies.py --filepath data.json --address http://localhost:8080
```