May 2022 Summaries
3 posts from Nhost
Filter
Month:
Year:
Post Summaries
Back to Blog
The text provides a comprehensive tutorial on creating a simple todo-app using Nhost and Hasura, focusing on backend setup, database schema definition, and data querying through GraphQL. Users are guided to create an Nhost account and app, initialize a JavaScript client, and define permissions using Hasura's role-based access control. It emphasizes setting up and managing database tables for todos and users, integrating authentication, and ensuring secure data access through defined roles and permissions. The tutorial illustrates steps such as creating tables, inserting data, managing permissions for public and authenticated users, and establishing foreign key relationships to ensure that data access is restricted and personalized for each user, thereby securing the backend effectively.
May 20, 2022
1,975 words in the original blog post.
Hasura Storage, an open-source service used by Nhost to integrate S3-compatible cloud storage with Hasura, underwent a transition from Node.js to Golang to enhance performance and scalability as the company's user base expanded. The decision to rewrite the service was driven by Golang's efficient dependency management, cloud compatibility, and performance capabilities, despite its verbosity compared to Node.js. Benchmark tests revealed substantial improvements in several metrics, including a 5x increase in requests served while halving memory consumption, and a significant reduction in minimum and P95 response times across most scenarios. The rewrite also led to a 40% reduction in RAM usage in production, allowing for better resource utilization and handling of increased traffic without escalating infrastructure costs. These enhancements were achieved even when both versions relied on the same C library for image manipulation, highlighting the effectiveness of the Golang transition in optimizing service performance.
May 17, 2022
1,177 words in the original blog post.
Nhost, recognized as the 12th fastest growing startup by GitHub star growth in a report by Runa Capital, has introduced a Pro plan priced at $25 per month, offering enhanced resources and options for additional capacities. The company has transitioned its storage from Node to Go, improving performance and reducing infrastructure demands. To streamline documentation, Nhost developed a tool built on TypeDoc for auto-generating markdown files for their SDKs, and they've adopted Docusaurus for their documentation website. Recent updates include enhancements to Nhost Auth for better error handling and email validation during OAuth sign-ins. Additionally, Nhost is actively engaging the community through various projects and workshops and is looking to hire a senior product designer to join their remote team.
May 01, 2022
785 words in the original blog post.