The API generates fire predictions based on the latitude, longitude and date received from the front end. API can be installed in many ways :
- Local installation: cd api python app.py
This will run the program and the flask will listen to the 5000 port. Any application can access the API url as http://localhost:50000.
-
Heroku: Create a heroku app and deploy the folder to heroku.
-
Dockerize: Run using docker.