February 2025 Summaries
3 posts from PropelAuth
Filter
Month:
Year:
Post Summaries
Back to Blog
FastAPI, a modern Python framework, is highlighted for its speed, developer-friendly features, and automatic OpenAPI schema generation, making it a versatile choice for building backend applications. The discussion centers on creating a full-featured backend for a multi-tenant "bookmark aggregator," leveraging various tools and libraries such as dbmate for database migrations, PugSQL for database interactions, PropelAuth for authentication and multi-tenancy, and Pydantic for data validation. The setup involves managing database schemas with dbmate, writing SQL queries using PugSQL, creating endpoints with FastAPI, and ensuring data integrity and request validation through Pydantic models. Additionally, PropelAuth is used to secure routes and manage user roles and permissions within an organization. The guide also touches on generating unique IDs with nanoid and demonstrates how to integrate these components into a cohesive application, culminating in a robust, production-ready backend system that can be easily extended for additional features.
Feb 18, 2025
2,738 words in the original blog post.
Rate limiting is a technique used to manage the frequency of client requests to a server, typically to prevent abuse or excessive costs associated with API usage, as illustrated by LinkedIn's practice of preventing users from opening an excessive number of profiles in a short time. Different methods for implementing rate limiting include storing all requests for audit purposes, using counters for requests within fixed time windows, and employing the "leaky bucket" algorithm to allow a continuous flow of requests while maintaining a limit. Each approach has its trade-offs related to flexibility, performance, and edge cases, such as race conditions or hitting minute boundaries. The choice of rate limits involves balancing between preventing abuse and allowing legitimate usage, often requiring adjustments based on historical data and ongoing monitoring. Additionally, services like PropelAuth offer built-in rate limiting to simplify the process for API providers.
Feb 11, 2025
1,474 words in the original blog post.
PropelAuth has launched the beta version of ui.propelauth.com, a comprehensive guide for building custom user interfaces on top of PropelAuth, enabling developers to tailor the signup and login experiences to better align with their brand's aesthetics. The platform provides example components, both unstyled and lightly styled, which can be seamlessly integrated into React applications and customized with additional features such as Tailwind classes, animations with Framer motion, or even intricate 3D backgrounds using Three.js. Although currently in beta and primarily supporting @propelauth/react users, the company plans to expand compatibility to other libraries in the near future, inviting user feedback and creative implementations during this testing phase.
Feb 05, 2025
172 words in the original blog post.