Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ashkarin/go-hellofresh
- Owner: ashkarin
- Created: 2019-04-19T00:19:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-19T00:24:04.000Z (over 5 years ago)
- Last Synced: 2024-11-07T08:46:56.845Z (about 2 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```