{"id":20484522,"url":"https://github.com/sap-samples/scp-cf-12-factor","last_synced_at":"2025-04-13T14:50:39.520Z","repository":{"id":42242350,"uuid":"139435129","full_name":"SAP-samples/scp-cf-12-factor","owner":"SAP-samples","description":"Sample 12-factor app showing a ERP Agnostic Loosely Coupled Architecture. Part of the \"Building the Intelligent Enterprise for SMBs\" series.","archived":false,"fork":false,"pushed_at":"2025-03-07T12:53:19.000Z","size":9314,"stargazers_count":1,"open_issues_count":6,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-27T05:41:46.887Z","etag":null,"topics":["12-factor","architecture","cloud-foundry","sample","sample-code","sap-business-bydesign","sap-business-one","sap-cloud-platform"],"latest_commit_sha":null,"homepage":"https://blogs.sap.com/2019/10/22/webinar-series-building-the-intelligent-enterprise-for-smbs/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAP-samples.png","metadata":{"files":{"readme":"README-local.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-07-02T11:37:04.000Z","updated_at":"2024-08-06T10:42:45.000Z","dependencies_parsed_at":"2024-08-06T12:41:34.937Z","dependency_job_id":null,"html_url":"https://github.com/SAP-samples/scp-cf-12-factor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fscp-cf-12-factor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fscp-cf-12-factor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fscp-cf-12-factor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fscp-cf-12-factor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP-samples","download_url":"https://codeload.github.com/SAP-samples/scp-cf-12-factor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732503,"owners_count":21152850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["12-factor","architecture","cloud-foundry","sample","sample-code","sap-business-bydesign","sap-business-one","sap-cloud-platform"],"created_at":"2024-11-15T16:23:32.582Z","updated_at":"2025-04-13T14:50:39.499Z","avatar_url":"https://github.com/SAP-samples.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cf-12-factor - LOCAL DEPLOYMENT\n\n## Prerequisites\n### Digital Core\n\n* SAP Business One - Service Layer Exposed\n* SAP Business ByDesign - [Business Partner Custom Odata Service](https://github.com/SAP-samples/byd-api-samples/blob/master/Custom%20OData%20Services/khbusinesspartner.xml)\n\n### Local Deployment\n*  [NodeJS](https://nodejs.org/en/download/) - Run time\n\n#### Optional\n*  [Postgresql](https://www.postgresql.org/download/) - Database\n*  [Redis](https://redis.io/download) - Cache\n*  [VS Code](https://code.visualstudio.com/) - IDE - *Recommended*  \n\n### Configuration\n\nA list of all environment variables supported by this app can be found on [sample-launch.json](sample-launch.json). This file can also be used as a configuration for debugging this app locally using VS Code.\n\n## Installation Local\n**STEP 1** - Download or Clone this repository\n```bash\ngit clone https://github.com/Ralphive/cf-12-factor.git\n```\n**STEP 2** - Install the dependencies\n```bash\nnpm install\n ``` \n\n**STEP 3** - Set the environment variables According to your erp system (b1 or byd)\n```bash\n\"ERP\": \"b1\" || \"byd\"\n\"ERP_ODATA_HOST\" : \"http://\u003cb1Host:50001/b1s/v2\" || \"https://my123456.sapbydesign.com/sap/byd/odata/cust/v1\"\n\"ERP_USER\" : \"manager\" || \"FINANCIAL01\",\n\"ERP_PASSWORD\" : \"1234\",\n\"ERP_TENANT\" : \"SBODEMOUS\" || null for byd\n```\n\n**STEP 4** - run the app\n```bash\nnpm run\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fscp-cf-12-factor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsap-samples%2Fscp-cf-12-factor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fscp-cf-12-factor/lists"}