The CDS-TS-Dispatcher dev container
repository contains the CDS-TS-Dispatcher & CDS-TS-Repository and all dependencies
needed to boot a new project :
Tools
installed inside of the container :
Controller
-Service
-Repository
project structure folders :controller
service
repository
middleware
util
test
ESLint
,Prettier
VSCode Extensions
best extensions for SAP CAP TypeScript developmentCloud MTA Build tool
for buildingMTA file
Cloud Foundry CLI (CF)
Git
,Cds
,Npm
,Node
CDS-Typer
for building typescript entities out ofCDS files
tsconfig.json, .eslintrc, .prettierrc
,.gitignore
- predefined propertiespackage.json
- predefinedscripts
- Linux OS
- Install Docker desktop
- Clone
CDS-TS-Dispatcher container
using below command :
git clone /~https://github.com/dxfrontier/cds-ts-dispatcher-dev-container
- Open project in
VSCode
using:
code cds-ts-dispatcher-dev-container
- Change GIT remote origin to your origin
git remote remove origin
git remote add origin /~https://github.com/user/YOUR_GIT_REPOSITORY.git
git branch -M main
git push -u origin main
-
Install Remote development pack VScode extension
-
COMMAND + SHIFT + P on
MacOS
or CTRL + SHIFT + P onWindows
- Type -
Rebuild and Reopen in Container
- This step will start creating the container project and start the Node server.
- Type -
-
Start development as usual.
- Clone
CDS-TS-Dispatcher container
using below command :
git clone /~https://github.com/dxfrontier/cds-ts-dispatcher-dev-container
- Change GIT remote origin to your origin
git remote remove origin
git remote add origin /~https://github.com/user/YOUR_GIT_REPOSITORY.git
git branch -M main
git push -u origin main
- Install the following npm packages
npm install -g typescript ts-node
- Start development as usual.
npm start
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Copyright (c) 2024 DXFrontier
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.