Submotion Helps You Manage Access Control for Your SAAS Subscriptions
Update: 2021-08-09
Description
In this episode of Running in Production, Kristian Dupont goes over building a
SAAS app to manage access control to your existing SAAS subscriptions. It’s
built with Koa, Node and React and is hosted on Heroku. It’s been running in
production since 2018.
Kristian talks about validating his idea before coding it, really leveraging
code linting tools, the challenges of adding a bunch of different SAAS app
integrations, using ElephantSQL to host his PostgreSQL database and more.
Topics Include
- 3:20 – Starting with an empty folder as a sole developer looking to ship an MVP
- 4:29 – Motivation for using Node
- 9:19 – Reasons for choosing Koa and Knex with a custom library Kristian wrote
- 14:57 – Using eslint and the overall power of going all-in with linting
- 17:50 – The back-end is a RESTful API with React on the front-end
- 21:43 – Using interesting PostgreSQL features such as triggers
- 23:30 – Managing the front-end assets with Parcel and using TailwindCSS
- 30:27 – Fighting for your abstractions and creating React components
- 32:29 – Adding a bunch of SAAS app integrations was challenging at times
- 37:57 – Using Jest to run tests but not super happy about it
- 42:34 – 10k+ lines of code on the front-end and back-end
- 46:43 – Taxes in the US are fun (not)
- 49:00 – Mailchimp, Freshping, Datadog and Sentry are being used for various things
- 52:05 – Redis isn’t being used but the database is quite optimized
- 55:08 – The web app servers are hosted on Heroku and PostgreSQL is on ElephantSQL
- 58:45 – Running a Linux VM inside of an M1 Mac for local development
- 1:02:45 – The deployment process from development to production
- 1:07:49 – The DB is backed up every hour
- 1:09:43 – Freshping, Datadog and Slack provide good monitoring and alerting
- 1:12:09 – Best tips? Using Markdown to store test fixtures
- 1:15:24 – You can find Kristian on Twitter and his personal site lists all of his socials
Links
📄 References
- https://nodejs.org/en/about/releases/
- https://www.milesconsultinggroup.com/blog/2021/06/01/what-to-know-about-the-taxability-of-saas-in-18-key-states/
- https://blog.serverfault.com/post/stack-exchanges-architecture-in-bullet-points/
- https://kristiandupont.medium.com/and-naming-things-tailwind-css-typescript-and-mammals-9eab459633d2
⚙️ Tech Stack
Comments
Top Podcasts
The Best New Comedy Podcast Right Now – June 2024The Best News Podcast Right Now – June 2024The Best New Business Podcast Right Now – June 2024The Best New Sports Podcast Right Now – June 2024The Best New True Crime Podcast Right Now – June 2024The Best New Joe Rogan Experience Podcast Right Now – June 20The Best New Dan Bongino Show Podcast Right Now – June 20The Best New Mark Levin Podcast – June 2024
In Channel