In this meeting, the State Changers discuss various aspects of setting up and naming endpoints for a subscription service. They agree that having more endpoints that each focus on one specific task is simpler and better than a traditional REST approach. They also discuss the importance of caching information from external APIs to improve performance and ensure accurate data. The State Changers mention saving customer information and subscription status from Stripe in a table for easy access. They suggest recording the last time the data was updated to track its freshness. They also discuss implementing a free trial period for users and determining if a user is valid based on the date and subscription status. They mention the use of custom functions to isolate and simplify logic and make changes more easily. The meeting ends with David preparing to share his thoughts on a different topic.
(Source: Office Hours 3/16 )
Join State Change Risk-Free