summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-08-11 11:14:54 +0200
committerxengineering <me@xengineering.eu>2026-08-11 11:22:48 +0200
commit40b3272f5660517a4c97f97afcc9c3ed787465a4 (patch)
tree76b9e2c31ab655ef097f19735d4a693d6787ea0b /README.md
parent99cff9a3102c64cd146d524524001bd6ecb246c4 (diff)
downloadceres-40b3272f5660517a4c97f97afcc9c3ed787465a4.tar
ceres-40b3272f5660517a4c97f97afcc9c3ed787465a4.tar.zst
ceres-40b3272f5660517a4c97f97afcc9c3ed787465a4.zip
Introduce Dart infrastructure for frontend
The Dart programming language is excellent for frontend use. It is suitable to write command line programs, web interfaces with the builtin JavaScript transpiler and cross-platform applications with Flutter. To focus on a small number of languages Dart should now be used for frontend purposes as Go is used for backend purposes. Thus it is a valid option to start the migration for Ceres from Go + JavaScript to Go + Dart. This commit sets up the infrastructure. A `view/dart/ceres.dart` file is added together with tooling to transpile to JavaScript, embed it into the Go executable and serve it. Furthermore the script which just prints a message to the console is added to every page. Further commits can move existing code to Dart or add new code in Dart.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 560dd4f..659a230 100644
--- a/README.md
+++ b/README.md
@@ -12,9 +12,10 @@ cd ceres
git submodule update --init
```
-Only the [Go][4] tool is required to build ceres.
+Only the [Go][4] and [Dart][7] tools are required to build ceres.
```
+go generate
go build
```
@@ -69,3 +70,4 @@ As soon as version 1.0.0 is reached these aspects are stable.
[4]: https://go.dev
[5]: https://en.wikipedia.org/wiki/Object%E2%80%93relational_mapping
[6]: https://en.wikipedia.org/wiki/Create,_read,_update_and_delete
+[7]: https://dart.dev/