Implementation of the application and onboarding flow for a merchant. Data is stored and porwered by the FoxCommerce backend API.
-
node> v5.1.0To install this or another versions of node you can use n or nvm
-
We're using Flow to perform type checks and
babel-plugin-typecheckfor same thing at runtime. Install Flow per the instructions on the website. Checkout required version in.flowconfigfile. -
public_key.pemin the root of the project. This is the public key used to verify the authenticity of the JWT. See Max or Jeff for access to the key.
API_URL: Location of the API to hit. Example:https://tgt.foxcommerce.comASHES_URL: Admin experience to redirect to once onboarding is complete. Example:https://tgt.foxcommerce.com/admin
-
Run
npm ito install dependencies. -
Select your backend. There are convenience tasks to run the common backend development methods, hitting backend at either local or remote stage:
npm run dev — backend at http://localhost:4042
- Develop it at http://localhost:4042/
For static type checking flowtype is used. You can run check manually by npm run flow command.
Copyright (C) 2016. FoxCommerce, Inc.