Night Vision Data is a web app that will mostly work with Governments data to make informations more Open and Presentable to citizens and society so that they can clearly understand what’s happening under the hood. This plateform will help 'unjailing' the data. A sort of collaborative data crowdsourcing.
- People will find data in the format of PDF or Image ... and they will collaborate to make it in an exploitable format
- We will start by creating a crowdsourcing Plateform for the Tunisian municipal election of 06-05-2018 and we will try to make it as generic as possible to extend the crowdsourcing to different other data.
Thank you so much for stopping by! We're Looking forward to collaborate with you whether you're from a technical or non technical background . Please feel free to add comments and questions.
- Install mongo db on your machine or provide a link to a hosted instance
- Open mongo db
- Import the data of the election lists in the database :
- Go to
./data
and executemongoimport --db night-vision-data --collection lists --type json --file ./Ariana.json --jsonArray
- You can also add another gov
mongoimport --db night-vision-data --collection lists --type json --file ./Beja.json --jsonArray
- we would be able to add all the lists at once when the file is ready
- Go to
- Start the backend server (node.js) go to
./backend
and typenpm install
thennpm start
- Start the front-end (React - webpack) go to
./ frontend
and typenpm install
then `npm start - Open the browser
localhost:3000
- Host the Rest api on a server
- Change the config file server link under
./frontend/src/components/config.js
- whange
webpack.config-build
towebpack.config
and instead ofnpm start
runwebpack
- the bundle file will be generated under
./frontend/dist/static
- the bundle file will be generated under
Thanks for your interest in contributing to Night Vision Data! There are many ways to contribute. To get started, take a look at CONTRIBUTING.md.
This project adheres to Mozilla Community Participation Guidelines. By participating, you are expected to uphold this code.