Skullery is a Recipe app that has a database of ingredients rather than free text.
This enables many cool features:
- Proper shopping list generation (with categorisation, aggregation, etc…)
- Consistent scaling and adjustment options
- Unit swapping on-the-fly
- Ingredient alternatives suggestions
Other useful features:
- Measure time of each step to calculate recipe total time
- Sub-recipes
- What can I make with these ingredients?
- Start the application:
lein run
- Go to localhost:8888/ide to see the graphql ide
- Run tests with
lein test
. Read the tests at test/skullery/*_test.clj.
To configure logging see config/logback.xml. By default, the app logs to stdout and logs/. To learn more about configuring Logback, read its documentation.
- Jack in using calva, and select the skullery profile.
Docker container support
- Configure your service to accept incoming connections (edit service.clj and add ::http/host "0.0.0.0" )
- Build an uberjar of your service:
lein uberjar
- Build a Docker image:
sudo docker build -t skullery .
- Run your Docker image:
docker run -p 8080:8080 skullery