You are on page 1of 2

Traditional backend building vs using Hasura

1. Automatic API Generation: Hasura automatically generates a GraphQL API from your database
schema, eliminating the need to write boilerplate code for CRUD operations.
2. Realtime Subscriptions: Hasura provides out-of-the-box support for realtime GraphQL
subscriptions, which can be challenging to implement with Node.js or Python.
3. Authorization and Access Control: Hasura offers a powerful and flexible authorization system
with dynamic permissions management, making it easier to implement complex access control
rules.
4. Database Migrations: Hasura integrates seamlessly with database migration tools like Hasura
Migrations, simplifying the process of managing database schema changes.
5. Performance and Scalability: Hasura is built on top of PostgreSQL, which is known for its high
performance and scalability, making it suitable for high-load applications.
6. Faster Development Cycle: By eliminating the need to write boilerplate code for common tasks,
Hasura accelerates the development cycle and allows developers to focus on business logic.
7. GraphQL Support: Hasura provides native support for GraphQL, which is becoming
increasingly popular for building efficient and flexible APIs.
8. Data Relationships: Hasura automatically resolves database relationships and provides a unified
GraphQL API for querying related data, simplifying data fetching.
9. Event Triggers: Hasura supports event triggers, allowing developers to define custom business
logic to be executed in response to database events.
10. Remote Schemas: Hasura supports merging remote GraphQL APIs into a single GraphQL
schema, enabling integration with external services and APIs.
11. Database Agnostic: While Hasura is optimized for PostgreSQL, it supports other databases like
MySQL, SQL Server, and more, providing flexibility in database choice.
12. Webhooks and Serverless Functions: Hasura integrates with webhooks and serverless
functions, allowing developers to extend functionality without managing servers.
13. Secure by Default: Hasura follows security best practices by default, such as preventing SQL
injection and enforcing authorization rules.
14. Caching and Batching: Hasura provides built-in caching and query batching mechanisms,
improving the performance of GraphQL queries.
15. Monitoring and Logging: Hasura provides comprehensive monitoring and logging capabilities,
making it easier to debug and optimize applications.
16. Developer Experience: Hasura's intuitive console and extensive documentation make it easier
for developers to get started and manage their projects.
17. Community and Ecosystem: Hasura has an active and growing community, with a rich
ecosystem of tools, plugins, and resources.
18. Low Operational Overhead: Hasura's serverless architecture and managed services reduce
operational overhead, allowing developers to focus on building features.
19. Open Source: Hasura is an open-source project, providing transparency, flexibility, and avoiding
vendor lock-in.
20. Integration with External Tools: Hasura integrates well with popular tools and services like
Docker, Kubernetes, and cloud providers, making it easier to deploy and manage applications.

You might also like