https://github.com/livescale/server-sfcc-shopping-api
Livescale Open-Api example for SFCC Headless Commerce API
https://github.com/livescale/server-sfcc-shopping-api
ecommerce nodejs rest-api
Last synced: 2 months ago
JSON representation
Livescale Open-Api example for SFCC Headless Commerce API
- Host: GitHub
- URL: https://github.com/livescale/server-sfcc-shopping-api
- Owner: livescale
- License: cc0-1.0
- Created: 2021-09-23T16:44:16.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-20T20:11:38.000Z (over 4 years ago)
- Last Synced: 2025-05-30T11:55:49.007Z (about 1 year ago)
- Topics: ecommerce, nodejs, rest-api
- Language: JavaScript
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Getting Started
This repository is an example based on the [Livescale Shopping OpenAPI ](https://github.com/livescale/open-api) for SFCC Headless Commerce API.
The be able to run the server an **.env** file needs to be created with those credentials:
```plainText
NODE_ENV=staging
PORT=3444
# This should contain your MongoDB URL
DB_URL=mongodb://user:password@localhost:27017/db_name?authSource=admin
# This section should contain your SFCC API Credentials
CLIENT_ID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
CLIENT_PASSWORD=xxxxxxxxxxxxx
ORGANIZATION_ID=f_ecom_xxxx_001
TENANT=xxxx_001
SHORT_CODE=xxxxxxxx
SITE_ID=livescale-staging
```
## Usage
```sh
npm install
npm start
```