-
Node v8.2.1
-
Mongodb v3.4.6
-
yarn
In main directory type:
yarn
This will install all required libraries.
-
Compile:
yarn run compile-front-prod
-
Create mongodb database:
mkdir mongodb
-
Run mongod:
mongod --dbpath ./mongodb
-
Load initial data:
yarn run load-initial-data
-
Run:
yarn run server
- with API throttling
API_THROTTLE=2000 yarn run server
Run:
yarn run dev-server
Development mode supports hot reloading so there is no manual reloading needed.
yarn run test
- LRU Cache where appropriate.
- Use of Flow.js
- Server side rendering
- Frontend routing (URL for forms)
- Characters pagination
- JSDoc
- Frontend tests