Company
Date Published
Author
Peter Phanouvong
Word count
3411
Language
English
Hacker News points
None

Summary

Peter, a software engineer at Kinde, shares his experience building the Kinde Remix SDK in response to community demand. Drawing inspiration from the Kinde Next.js SDK, he focuses on creating a minimum viable product (MVP) by prioritizing speed and essential functionality over comprehensive features. Utilizing JavaScript instead of TypeScript and leveraging existing functions from the Kinde TypeScript SDK, Peter develops the SDK to handle authentication processes like login, registration, and logout. He emphasizes efficient development practices, such as the 80/20 rule, and sets up a testing environment using a starter kit to ensure the SDK's functionality. Throughout the process, Peter incorporates error handling, writes unit tests for high code coverage, and releases the package using tools like Rollup and release-it. He also addresses challenges like cookie data limitations and refines the SDK post-release, all while maintaining productivity through structured work habits and accountability within his team.