Skip to content

jaimeferreira11/fp-psp-frontend

Repository files navigation

Build Status

Poverty Stoplight

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.

Poverty Stoplight Frontend

Single Page Application working as a web client for FP-PSP-SERVER.

Credits

This project has been built with Joko Starter Kit as a skeleton.

Requirements

Getting Started

Clone this repo

$ git clone https:/FundacionParaguaya/fp-psp-frontend.git
$ cd fp-psp-frontend

Development

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:

http://localhost:9000/

Environment

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.

OAuth Configuration

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

Users and roles

To see a list of default users and roles check the backend documentation.

Build for production

Run:

$ npm run build

Tests

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

About

Single Page Application working as a web client for https:/FundacionParaguaya/FP-PSP-SERVER

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published