commit b75e84dec2c5219389b4edf78019fe2bb49a9ab9 Author: Luca Date: Thu Jun 4 22:21:53 2026 +0000 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ace1c29 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +node_modules/ +target/ +_out/ +gen/ + +.cdsrc-private.json +default-*.json +*.sqlite + +# MTA +mta_archives/ +*_mta_build_tmp +*.mtar + +# Other +.DS_Store + +# @cap-js/cds-typer +@cds-models diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..ef0bdf8 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,10 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "label": "cds watch", + "command": "cds watch", + } + ] +} diff --git a/db/schema.cds b/db/schema.cds new file mode 100644 index 0000000..7ef3280 --- /dev/null +++ b/db/schema.cds @@ -0,0 +1,5 @@ +entity Books { + key ID : Integer; + title : String; + author : String; +} diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..a736c8f --- /dev/null +++ b/readme.md @@ -0,0 +1,22 @@ +# Getting Started + +Welcome to your new CAP project. + +It contains these folders and files, following our recommended project layout: + +File or Folder | Purpose +---------|---------- +`app/` | content for UI frontends goes here +`db/` | your domain models and data go here +`srv/` | your service models and code go here +`readme.md` | this getting started guide + +## Next Steps + +- Open a new terminal and run `cds watch` +- (in VS Code simply choose _**Terminal** > Run Task > cds watch_) +- Start with your domain model, in a CDS file in `db/` + +## Learn More + +Learn more at .