Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sap-samples/scp-cf-12-factor
Sample 12-factor app showing a ERP Agnostic Loosely Coupled Architecture. Part of the "Building the Intelligent Enterprise for SMBs" series.
https://github.com/sap-samples/scp-cf-12-factor
12-factor architecture cloud-foundry sample sample-code sap-business-bydesign sap-business-one sap-cloud-platform
Last synced: about 2 months ago
JSON representation
Sample 12-factor app showing a ERP Agnostic Loosely Coupled Architecture. Part of the "Building the Intelligent Enterprise for SMBs" series.
- Host: GitHub
- URL: https://github.com/sap-samples/scp-cf-12-factor
- Owner: SAP-samples
- License: apache-2.0
- Created: 2018-07-02T11:37:04.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-08-06T10:42:44.000Z (5 months ago)
- Last Synced: 2024-08-06T12:37:23.935Z (5 months ago)
- Topics: 12-factor, architecture, cloud-foundry, sample, sample-code, sap-business-bydesign, sap-business-one, sap-cloud-platform
- Language: JavaScript
- Homepage: https://blogs.sap.com/2019/10/22/webinar-series-building-the-intelligent-enterprise-for-smbs/
- Size: 9.01 MB
- Stars: 1
- Watchers: 8
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README-local.md
- License: LICENSE
Awesome Lists containing this project
README
# cf-12-factor - LOCAL DEPLOYMENT
## Prerequisites
### Digital Core* SAP Business One - Service Layer Exposed
* SAP Business ByDesign - [Business Partner Custom Odata Service](https://github.com/SAP-samples/byd-api-samples/blob/master/Custom%20OData%20Services/khbusinesspartner.xml)### Local Deployment
* [NodeJS](https://nodejs.org/en/download/) - Run time#### Optional
* [Postgresql](https://www.postgresql.org/download/) - Database
* [Redis](https://redis.io/download) - Cache
* [VS Code](https://code.visualstudio.com/) - IDE - *Recommended*### Configuration
A 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.
## Installation Local
**STEP 1** - Download or Clone this repository
```bash
git clone https://github.com/Ralphive/cf-12-factor.git
```
**STEP 2** - Install the dependencies
```bash
npm install
```**STEP 3** - Set the environment variables According to your erp system (b1 or byd)
```bash
"ERP": "b1" || "byd"
"ERP_ODATA_HOST" : "http://