Fundación Paraguaya (FP from now on) has developed a methodology called “Poverty Stoplight”. The Poverty Stoplight seeks to eliminate the multidimensional poverty that affects many families. It allows families to trace their own poverty map and develop and implement a clear plan to overcome it.
Through a visual survey that shows photographs, families self-assess their level of poverty with 50 indicators. These indicators are in turn grouped into 6 different dimensions of poverty.
Single Page Application working as a web client for FP-PSP-SERVER.
This project has been built with Joko Starter Kit as a skeleton.
- Node.js v5.0.0 or above
$ git clone https://github.com/FundacionParaguaya/fp-psp-frontend.git
$ cd fp-psp-frontend
Run:
npm install
npm run start
This will create the bundle from the sources in /src
and output it to /dist
.
Finally, open up your browser in:
If you need to, change the API
value in config/env_develpment.json
to point to the FP-SERVER running in your local machine. By default this should work without any modification.
Use config/env_production.json
in production environments.
When the authentication security is enabled in the server, the parameter en the config/env_XXX.json
file should be set to true
:
"authenticationEnabled": true
To see a list of default users and roles check the backend documentation.
Run:
$ npm run build
Unit and integration tests are run with Karma, Mocha and Chai:
$ npm test
To detect potential errors and bugs we use ESLint:
$ npm run lint