| Age | Commit message (Collapse) | Author |
|
TODO: Not all the information is provided there.
This commit provides an unstable JSON API for communication with an
upcoming Dart frontend.
Later it might be part of the public interface for integration into
other services. For this step it has to be ensured the semantics are not
changing a lot in the future which is currently out of scope.
|
|
This adds the ability to store a flag `is_favorite` inside the database.
The corresponding SQL migration is part of this commit.
Furthermore the Go code in the model package is adapted.
|
|
Instead a database transaction has to be used. Each database interaction
should be wrapped into a transaction to make sure any possible change
(even side-effects) can be rolled back in case of errors.
|
|
This applies default Go code style recommendations.
|
|
This allows to formulate the test data with an object-based model which
is easier than writing it down in a relational model.
|
|
This type is provided to render overview pages easily with a list of all
recipes.
|