Inspiration

Putting Google Maps directly into an application is unsafe: the key can be extracted and used by a hacker.

What it does

It's a reverse proxy that limits an amount of requests accordingly to specified price of every request. The accounts can be topped up by in-app purchases or Stripe.

How we built it

Python Flask with support of AWS Lambda as the least expensive way to run it.

Challenges we ran into

How to store data in AWS Lambda (I use EFS), how to protect EFS data from corruption when multiple instance of the application are running.

What we learned

  • How to create proxies with Flask.
  • How to keep a multi-process-accessed DB on EFS without corruption.
Share this project:

Updates