This is a Python store locator for AWS Lambda powered by Chalice and SQLite.
Brought to you by the developers at MullenLowe.
$ yum install sqlite-devel # CentOS, RHEL
$ apt-get install libsqlite3-dev # Debian, Ubuntu
After you clone this repo, go to its root directory and run pip install -r requirements.txt
to install its dependencies.
Once the dependencies are installed, you can run chalice local
to start the application. You will then be able to access it at localhost:8000/locations/02201
To add your own locations edit the locations table in chalicelib/database.db
, the only columns required for this to function are postcode, latitude and longitude.
The postcodes table contains all U.S. and Canadian postal codes.
Feel free to send pull requests and raise issues.
You can check out the full license here
This project is licensed under the terms of the MIT license.