initial commit
This commit is contained in:
+19
@@ -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
|
||||||
Vendored
+10
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"label": "cds watch",
|
||||||
|
"command": "cds watch",
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
entity Books {
|
||||||
|
key ID : Integer;
|
||||||
|
title : String;
|
||||||
|
author : String;
|
||||||
|
}
|
||||||
@@ -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 <https://cap.cloud.sap>.
|
||||||
Reference in New Issue
Block a user