Fork, clone, or download this repo to begin the project setup.
cd
into the project:
npm install
to install all the required dependencies.
-
Go to aylien site aylien site and sign up for an API key.
-
Create a new file named
.env
in the root of your project. -
Fill the
.env
file with your API keys like this:
API_ID=***********************
API_KEY=**********************
npm run build-prod
to generate the distribution folder.- Production mode can be accessed at
localhost:8081
npm run build-dev
to start the webpack dev server.- Development mode can be accessed at
localhost:8080
Note: To successfuly run and test development mode, express server should be running.
npm run test
to run Jest.