<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ceres/model/recipes.go, branch step-re-ordering</title>
<subtitle>Recipe server for your favorite dishes</subtitle>
<id>https://cgit.xengineering.eu/ceres/atom/model/recipes.go?h=step-re-ordering</id>
<link rel='self' href='https://cgit.xengineering.eu/ceres/atom/model/recipes.go?h=step-re-ordering'/>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/'/>
<updated>2026-08-13T19:15:49Z</updated>
<entry>
<title>WIP: Add JSON-based API under `/api`</title>
<updated>2026-08-13T19:15:49Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-08-13T18:53:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=60bdc926dd7235fd55930ebd5b30c2e346f8ca59'/>
<id>urn:sha1:60bdc926dd7235fd55930ebd5b30c2e346f8ca59</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>model: Implement favorite recipes</title>
<updated>2024-11-03T15:05:55Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-11-03T14:49:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=7cd3a096a975801a07fb3ff06b6fac70e17234ce'/>
<id>urn:sha1:7cd3a096a975801a07fb3ff06b6fac70e17234ce</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>model: Fix direct access to database</title>
<updated>2024-10-12T13:24:33Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-05-17T20:49:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=9d3a5fb85dc02e87fab879855c4c3bace5f753f2'/>
<id>urn:sha1:9d3a5fb85dc02e87fab879855c4c3bace5f753f2</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Apply go fmt to all source files</title>
<updated>2024-09-11T18:25:54Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-09-11T18:25:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=54029aac92f17ec87d3ef0bb73fcdac271b209c9'/>
<id>urn:sha1:54029aac92f17ec87d3ef0bb73fcdac271b209c9</id>
<content type='text'>
This applies default Go code style recommendations.
</content>
</entry>
<entry>
<title>model: Create test data with Go instead of SQL</title>
<updated>2024-03-04T19:33:58Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-03-03T19:06:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=b62c686702622b747ab082b7b12b3e611e1d7e1f'/>
<id>urn:sha1:b62c686702622b747ab082b7b12b3e611e1d7e1f</id>
<content type='text'>
This allows to formulate the test data with an object-based model which
is easier than writing it down in a relational model.
</content>
</entry>
<entry>
<title>model: Add type 'Recipes' with Read() method</title>
<updated>2024-02-11T20:08:32Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2024-02-11T20:07:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/ceres/commit/?id=43fdfde44bce659abd30186150f667d8ba24cf2b'/>
<id>urn:sha1:43fdfde44bce659abd30186150f667d8ba24cf2b</id>
<content type='text'>
This type is provided to render overview pages easily with a list of all
recipes.
</content>
</entry>
</feed>
