Conscious Patterns Inc. is a New York City-based health and wellness startup seeking its seed funding after successful trials with major corporate and healthcare customers. The company creates a product called TUNE, which is a physical hardware bed equipped with sensors, auditory, and motor functions to create an immersive meditative experience.
The Problem
Over the past several years, the company had engaged with a number of contractors in a generally ad-hoc fashion – work with X contractor to build a feature here, work with Y contractor to build another feature there. Over time this led to legacy tech debt and varying quality of work. One place this manifested was in the user accounts system, which had a number of deficiencies:
- The dependencies for that system were not managed in any automated fashion
- No documentation describing its approach
- The implementation relied on credentials for upstream dependencies (Google Cloud Platform, etc) that eventually expired, causing parts of the system to break in unexpected ways over time
- The implementation didn't allow for users to create and manage organizations in a full-featured manner. For example, being able to invite and manage the roles of colleagues
The Solution: Robust and secure user management
Once the system began breaking down it was clear that this was something best solved in a manner that allowed us to offload the dependency if a suitably reliable and robust service could be found. After evaluating options, I determined Clerk to be the best choice for our current stage.
Okay the title here "rebuilt" almost feels like cheating, because Clerk made this so easy… Clerk is a complete user management solution that handles the full lifecycle of user sign up, password management, and security. With simple toggles, we can enable two-factor authentication and add third-party providers like Google. When a user signs up with one method and adds another, Clerk can automatically link them. Enabling all this is as simple as integrating Clerk's React and NextJS components into your application.
Going further, Clerk provides a SOC 2 and HIPAA-compliant solution to manage our user data, which is something we were nowhere close to with the hand-rolled solution we had previously relied on.
With easy-to-use React components and an API that allows our native mobile apps to interact with a reliable backend, Clerk is quickly becoming my recommendation of choice for spinning up a top-tier user management solution.