DiscoverRunning in ProductionSubmotion Helps You Manage Access Control for Your SAAS Subscriptions
Submotion Helps You Manage Access Control for Your SAAS Subscriptions

Submotion Helps You Manage Access Control for Your SAAS Subscriptions

Update: 2021-08-09
Share

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




⚙️ Tech Stack


Comments 
In Channel
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Submotion Helps You Manage Access Control for Your SAAS Subscriptions

Submotion Helps You Manage Access Control for Your SAAS Subscriptions