Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1009 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 1009 Bytes

LocationServiceApp

This Application is based on Flask framework and IDE used Pycharam

Requirement for This App:


-Framework : Flask
-Database : MySql
-Database Connector : pymysql
-Request Limiting for user : flask-limiter
-Python : 3 or above

To run this Application:


install all dependancies

To create Data


run db_table_schema_with_data.sql to create data or
if you want to use schema of db , run db_table_schema.sql
and to enter your data use script DataPreparation.py script to generate the data
sample data is provide in final_geo_data.txt

Note :
/user : to get the list of location based on entered text (user input is harcoded in app.py )
/location : to get the list of location based on given lat, long with a range

To restrict a perricular IP address to request to a certain number is handled by the flask-limiter