It was a part of our "Software as a Service" course, where we had to combine three services to build a new api that could provide a combination of services. Special attention to sustainability was given as it was one of the requirement.
The service provide summary of humanitarian crisis report from all over world which are published in the ReliefWeb website. The following Api's were user,
- ReliefWeb API - To get reports on humanitarian crisis.
- Aylien Machine Learning API - To summerize the reports.
- Google country and places - To get the list of all countries in the world.
- Python 3.6
- Flask Microframework for Rest Service
- HTML/CSS/Javascript
- Download and Install Python 3.6 from https://www.python.org/downloads/
- Use the command prompt to navigate to the directory of the project and run the command,
pip install –r requirements.txt
This installs the dependencies of the project.
- To start the web server, run the command in the project directory,
python app.py runserver
- The web service will be accessible on http://localhost:8888/