Case Study: How Pulley Cut Development Time by 50% with Hasura

18 May, 2021 | 3 min read

Hasura helped Pulley cut development time by 50% by auto-generating and securing GraphQL for over 50 database tables


Note: Pulley is providing a generous discount to Hasura Cloud and enterprise customers - see the end of this article for more details.


Pulley, an alumnus of YCombinator 2020, helps ambitious founders manage their cap table and employee equity, helping startups manage stock options and perform pro forma modeling to optimize their equity.  In its first year of existence, Pulley achieved rapid success, gaining 1,000 customers by enabling founders to manage the intimidating process of managing their cap table within an hour.

“By using Hasura we cut the development time in half and built our product in 3 months.”

Pulley decided that Hasura’s GraphQL engine would accelerate their development by auto-generating the GraphQL schemas and resolvers to their Postgres database. They also leveraged other Hasura features, including:

  • Data migrations when database changes occurred
  • Security and permissions model to keep sensitive data safe
  • Fast performance, resulting in a excellent user experience
Pulley's architecture includes React, a Go backend, and Hasura's GraphQL engine connected to a Postgres database.

Pulley’s Challenge

Pulley’s technical architecture was composed of a Postgres database, backend written in Go, and web front end using React.  As they iterated quickly in the beginning they needed to find the balance between rapidly making changes, adding features, while also making sure the solution kept very sensitive financial data secure.  Other challenges included:

  • Creating a universal data access layer for over 50 database tables
  • Making frequent database changes without having to rewrite significant amounts of data access, backend, and frontend code
Pulley helps founders managed their cap table and stock options to optimize their equity.

Why Pulley Chose Hasura

“We’ve been impressed with Hasura’s speed.  It’s a core part of why our overall app is fast”

Early in the development process, the Pulley team decided GraphQL would offer the benefits of easily transporting data between the different layers of their application - from the Postgres database, to their Go backend, and React frontend.  They adopted Hasura after discovering it met and exceeded their expectations:

Auto-Generated GraphQL Schemas and Resolvers

Hasura provided “GraphQL out of the box” with its ability to auto-generate GraphQL schemas and resolvers of their Postgres database, saving Pulley months of development time - especially in their early stages when changes to features and the underlying database happened frequently.  

Pulley utilizes Hasura for nearly all queries and updates of over 50 database tables.

Data Migrations

Hasura’s migrations feature was also essential during the early phases of Pulley’s product development, tracking Postgres database schema changes in metadata, allowing them to keep their database consistent between development and production.

Real-Time Updates via GraphQL Subscriptions

Subscriptions simplified their frontend development, utilizing React components to to dynamically update their web frontend as new data arrived.  This eased the burden of having to write their own notification framework to provide real time updates.

“Hasura’s built-in role-based authorization system made it easy to secure our data”

Security, Authorization & Auditing

To protect its customer’s sensitive financial and personal data, Pulley relied on Hasura’s granular authorization features, which can be applied down to the row and column level.  To ensure the security of their system, Pulley regularly performs penetration testing to make sure that their entire system, including Hasura, are hardened from external attack.

Pulley also relies on Hasura’s built-in auditing capabilities to track changes in user permissions, providing them a history log of changes they can refer back to.

Management Console

Hasura’s console also increased the developer’s productivity by making it easy to perform GraphQL schema generation tasks, perform GraphQL queries, and perform traces to identify any performance bottlenecks.

Thank you to Pulley and Mark Erdmann - Software Engineer for sharing their story with us!


Special offer! Pulley is offering a 25% discount ($750 value) for the first year to Hasura Cloud and Enterprise customers.  Please contact us on this form, mention this offer and include your Hasura login email!

Close

Get Started with GraphQL Now

Hasura Cloud gives you a fully managed, production ready GraphQL API as a service to help you build modern apps faster.

HasuraCon, Our user conference is back!

We’re bringing together users from all over the world for a 2 day celebration of all things Hasura!
Discover the amazing products developers are building with Hasura. Level up your Hasura skills with live, in-depth workshops. Hear about all the big features and updates we are making to the Hasura GraphQL Engine and Hasura Cloud. Join us on 23rd & 24th June 2021!


hand
Ready to get started?
Start for free on Hasura Cloud or you could contact our sales team for a detailed walk-through on how Hasura may benefit your business.
Stay in the know
Sign up for full access to our community highlights, new features, and occasional baby animal gifs! Oh, and we have a strict no-spam rule. ✌️