https://github.com/stepzen-dev/transferred-stepzen-ecommerce-app
https://github.com/stepzen-dev/transferred-stepzen-ecommerce-app
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stepzen-dev/transferred-stepzen-ecommerce-app
- Owner: stepzen-dev
- License: mit
- Created: 2020-08-25T07:43:16.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-09-16T16:25:20.000Z (over 5 years ago)
- Last Synced: 2025-05-08T00:13:45.252Z (about 1 year ago)
- Language: PLpgSQL
- Size: 216 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Set up eCommerce Sample App
## Initial set up
1. Go to the folder where you downloaded the sample app.
2. Populate your local `.env` file:
- create an `.env.local` file
- populate two settings in `.env.local`:
- `REACT_APP_GRAPHQL_API_KEY={API_KEY}`, where `{API_KEY}` is the key provided for your sandbox service in the Quickstart Guide
- `REACT_APP_GRAPHQL_ENDPOINT=https://{ACCOUNT}.stepzen.net/stepzen101/ecommerce/__graphql`, where `{ACCOUNT}` is the account name of your sandbox account as provided to you in the Quickstart Guide
3. Install dependencies:
`npm install`
4. Start the application:
`npm start`
Your browser should open at http://localhost:3000/