- Demo powered by Heroku
-
Download and install NodeJS
-
On the console, run
npm install
-
Run
npm run build
in order to build the code inside dist for distribution. Runnpm run bundle-analyzer
to analyze the bundle -
Run
npm run serve
in order to launch the application for development
-
Based on json-server with mocks from faker
-
Run
npm run build
andnpm start
in order to launch the server (http://localhost:3000
) with the distribution version of the app (APIs available athttp://localhost:3000/api/
) -
The server randomly simulates delays and errors for testing purposes
- The app contains a manifest.json and the entire service-worker business in order to cache the app (sw is enabled only for
npm run build
)
-
Typescript (with
--strict true
)
-
The unit-tests are written in typescript using Jasmine. You find all the files searching for __.spec.ts
-
On the console, run
npm test
for executing them -
Tests are also executed automatically by Travis CI
-
Run
npm start
in order to launch the server (http://localhost:5000
) with the distribution version of the app -
Run
npm run test-api
in order to execute tests inside rest-api-tests with Frisby
- Take a look at the following page if you use IntelliJ or VIM