{"id":19795920,"url":"https://github.com/attilaberencsi/freeflexcapts","last_synced_at":"2026-05-15T03:32:53.518Z","repository":{"id":211765004,"uuid":"664692154","full_name":"attilaberencsi/freeflexcapts","owner":"attilaberencsi","description":"Fiori Flexible Programming Model with TypeScript and CAP","archived":false,"fork":false,"pushed_at":"2025-06-07T19:33:10.000Z","size":786,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T20:25:57.521Z","etag":null,"topics":["cap","fiori","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/attilaberencsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-10T14:33:07.000Z","updated_at":"2025-06-07T19:33:07.000Z","dependencies_parsed_at":"2025-01-11T04:50:38.753Z","dependency_job_id":"e056362f-1630-4e60-8206-8f1a747f3b26","html_url":"https://github.com/attilaberencsi/freeflexcapts","commit_stats":null,"previous_names":["attilaberencsi/freeflexcapts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/attilaberencsi/freeflexcapts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attilaberencsi%2Ffreeflexcapts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attilaberencsi%2Ffreeflexcapts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attilaberencsi%2Ffreeflexcapts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attilaberencsi%2Ffreeflexcapts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/attilaberencsi","download_url":"https://codeload.github.com/attilaberencsi/freeflexcapts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attilaberencsi%2Ffreeflexcapts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33052665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cap","fiori","typescript"],"created_at":"2024-11-12T07:17:48.729Z","updated_at":"2026-05-15T03:32:53.504Z","avatar_url":"https://github.com/attilaberencsi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting Started\n\nProject is genarated as a CAP application with the Application Generator:\nOptions\n\n- HANA\n- MTA\n\nAfter *Fiori:Open Application Generator* Wizard was used to generate a **Basic**  freestyle project based on the Basic CAP service already implemented.\nOptions\n\n- Advanced\n- CDS Plugin Usage\n- TypeScript\n\nNote that this project setup is not using CAP service authorizations and fiori-tools-proxy to authenticate. Goal is to demonstrate TypeScript in CAp and Fiori in combination with flexible programming model.\n\n![](assets/20230711_180407_image.png)\n\nFlexble programming model usage explained: https://github.com/SAP-samples/ui5-exercises-codejam/tree/09a7db78e291ecdfedc0c0e22ed02f7ddb3af2d6/chapters/2.01-fe-fpm\n\nEvolution of UI5 TypsScript: https://github.com/SAP-samples/ui5-typescript-tutorial/tree/main/exercises/ex1\nFiori Flexible Programming model in practice: https://github.com/SAP-samples/ui5-exercises-codejam/tree/09a7db78e291ecdfedc0c0e22ed02f7ddb3af2d6/chapters/2.01-fe-fpm\n\nNotes: do not mix Ui5 Tooling and Fiori Toolkit features and they combination with CAP :D\n\n2nd UI development outlook:\nRealize with latest UI5 typescript tutorial: https://github.com/SAP-samples/ui5-typescript-tutorial/tree/main\n\n## Setup root modules\n\n```sh\nnpm install typescript -–save-dev\nnpm install @types/node --save-dev\n```\n\n## Add typescript configuration to tsconfig.json\n\nCheck the file and see how You can configure the build folder\n\n## Add SQLite for development\n\n`npm add @cap-js/sqlite -D`\n\nTemporary removed at the end from package.json hana as db so that sqlite works without *--profile* during development\n\n```json,\n  \"cds\": {\n    \"requires\": {\n      \"db\": \"hana\"\n    }\n  }\n```\n\n## Added demo content to\n\n- db\n- srv\n\n## Generate Frontend\n\nFiori Application Generator: Basic Template with TypeScript support\n\n![](assets/20230711_180407_image.png)\n\nIt contains these folders and files, following our recommended project layout:\n\n\n| File or Folder | Purpose                              |\n| ---------------- | -------------------------------------- |\n| `app/`         | content for UI frontends goes here   |\n| `db/`          | your domain models and data go here  |\n| `srv/`         | your service models and code go here |\n| `package.json` | project metadata and configuration   |\n| `readme.md`    | this getting started guide           |\n\n## Next Steps\n\n- Start adding content, for example, a [db/schema.cds](db/schema.cds)\n- Add .ts files in service folder service\n- Open a new terminal and execute `npm run start-ts`, this will launch the CAP service with node-ts without translating it to .js files. This is not recommended for production.\n- To build the service for production, execute `cds build`, this will place the service files into the gen folder, then execute `tsc` to compile the service folder .ts to .js files into the gen folder as well\n\n## Learn More\n\nLearn more at https://cap.cloud.sap/docs/get-started/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattilaberencsi%2Ffreeflexcapts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fattilaberencsi%2Ffreeflexcapts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattilaberencsi%2Ffreeflexcapts/lists"}