Spero is an open source decentralized job marketplace for refugees, asylums, NGOs and governments. we leverage blockchain and artificial intelligence to connected about 65.6 million refugees to jobs around the world. This project was created in December 2017 for the biggest Global Virtual GovHack hackathon organized by UAE Government in 2017.
Here are some problems which were tackled while creating Spero.
Not all refugees are educated or have a mobile/computer, can still they use Spero?
- Refugees can register themselves or through other asylums, NGOs and governments, they can also ask the experienced or educated refugees to register them.
Employers often lack trusts in a refugee's legal status, qualification, experience, language skills, the list goes on, how can Spero tackle that? Also how you ensure and protects the rights and fair treatment of refugees?
- Each refugee has to register before he can access jobs, his experience is stored in his public blockchain which validates his experience, qualification and identity.
- He can report an employer and each refugee is asked to give ratings to employers, ratings and reports are used as metrics to give points to employers.
- points can be later exchanged for discounts and gifts from our sponsors. it encourages employers to treat refugees positively and also allows government bodies or private-sector sponsors to contribute to refugee resettlement.
what about the distressed and depressed refugees?
- An in-app AI assistant,"Amica", is also there to help and motivate all the refugees to start a new life by navigating available career options and resources independently. it also gives tips to manage distress and reminders for completing job applications.
- It is of Latin origin, and the meaning of Amica is "loved friend". In Italian "amica" means "friend".
How is spero secure, reliable and accessible?
- Spero use IPFS and Smart contracts.
- Posted jobs by employers are stored using IPFS to ensure the identity of the information. whereas refugee identity, application of jobs, employer points, ratings are all stored using Ethereum smart contract to ensure that the information is tamper-proof.
What is the meaning of Spero?
- Spero means "I Hope" in Italian.
- It is also a part of Latin proverb: Dum Spiro Spero (While I Breathe, I Hope)
This is the first design/prototype which was created for Spero, the current design might differ from it.
This is the final submission video for Global Virtual GovHack hackathon.
- python 2.7
- linux, unix, mac, windows(with attachments)
- git
- Flask
- IPFS
-
Fork the reposistory from Github and rename to your project.
-
If working on a local machine, then clone the repo from your terminal.
git clone https://github.com/ramantehlan/Spero
source setup.sh
ipfs daemon (this will be running on localhost:8080)
python app.py (this will be running on localhost:8081)
You can now check your localhost to see if it deployed correctly.
- Project Name
- App
-static
-templates
-start.html
- __init__.py
- allImports.py
- config.yaml
- models.py #all your database models should be created in here
- start.py # this an example of a python file that renders a page
- Data
- spero.sqlite
- Venv
- app.py
- create_db.py #run this to create your database
- setup.sh
Above you will find the file structure for the flask template. You will be mostly working with the app/ directory. Some important files and directories.
-
models.py - This file contains the database schema or the tables and columns that will be in database. If you want to make a new table then you will add a class to this file, see the example in the models.py file. Once you are done making changes to this file run create_db.py to make the changes in the database.
-
App/ directory - This directory will contain a python module. In order for python files to be recognized they must be added to the __init__.py file in this directory.
-
start.py - This file is a very quick example of a python file that will render a page. This file processes and renders the start.html file located under templates.
In order to read from a database you will need to make a query to get the data. You can find out more about queries at the peewee site one quick example of a query would be the following:
query = tableName.get( condition = something )
This will return a python object that will have the data as attributes. You can pass this object to the html file. You can access this data by typing query.Column.
Feel free to add your own features or improve any current feature, any kind of help is appreciated.
The core team of this project is following:
GNU General Public License v3.0