Skip to content

jdravi/LocationServiceApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

location search microservice, whose sole purpose is be to expose APIs for searching cities and their localities

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors