Antonin Grêlé goes over using Django to build a gift card service focused on eco-friendly products. It's hosted on PythonAnywhere.

In this episode of Running in Production, Antonin Grêlé talks about using
Django to build a gift card purchasing site for eco-friendly products. It’s
hosted on PythonAnywhere and has been up and running since fall 2019.

Antonin developed it himself in a few months and covers tying together services
using Zapier, what it’s like to manage gift card logic, the value in getting
something up quickly and more.

Topics Include

2:10 – Launching an MVP after a few months of dev time as a solo developer
5:10 – Motivation for using Django and Python
7:39 – Batteries (mostly) included, using the Django Admin and Django REST Framework
10:51 – Using Stripe to build a single checkout page to buy gift cards
15:57 – It’s a monolithic app but it uses services like Airtable and Zapier
23:58 – Managing gift card funds and logic is the core of the business
30:34 – Tech stack includes SQLite and using PythonAnywhere for a host
39:50 – Cloudflare is mainly used for serving static files
42:59 – The process from development to production and secret management
49:10 – Performing hourly DB backups and using UptimeRobot for downtime notifications
54:19 – The new SCA compliant Stripe APIs are being used
58:33 – Best tips? Get your product out ASAP and be mindful of what happens if you leave
1:01:05 – Check out https://www.ethikdo.co and Antonin is also on Twitter

Links

⚙️ Tech Stack

































































































































































































































































































































































































django →



























































































































































python →















































































































































































































































































































































































































































































































































































































































airtable →

























































































































































































































































































































































































































































































































































































































































bootstrap →





















































































































































































































cloudflare →

















































































































































































































































































































































































































































































































































































































































discord →



















































































































































































































































































































































































































































































































































































































mailchimp →





















































































































































































































































































































































































































































































mailjet →









































































































































































































































































































































































































































































python-anywhere →



















































































































































































































































































































































sqlite →

































































































































































































































































































































































































































































































































































































































































































stripe →



































































































































uptime-robot →





























































































































































































































































































































































































































































































































































































































































































vue →













































































































































































































































































































































































































































































































































































zapier →



















































































































































































































🛠 Libraries Used

https://github.com/encode/django-rest-framework
https://github.com/anymail/django-anymail
https://github.com/zostera/django-bootstrap4
https://github.com/django-ckeditor/django-ckeditor
https://github.com/python-pillow/Pillow
https://github.com/peterbe/premailer

Support the Show

This episode does not have a sponsor and this podcast is a labor of love. If
you want to support the show, the best way to do it is to purchase one of my
courses or suggest one to a friend.


Dive into Docker is a video course that takes you from not knowing what Docker is
to being able to confidently use Docker and Docker Compose for your own apps.
Long gone are the days of "but it works on my machine!". A bunch of follow
along labs are included.


Build a SAAS App with Flask is a video course where we build a real
world SAAS app that accepts payments, has a custom admin, includes high test
coverage and goes over how to implement and apply 50+ common web app features.
There's over 20+ hours of video.

Twitter Mentions