2023-12-21 12:40:19 +03:00
![Hasura logo ](./assets/hasura_logo_primary_darkbg.png#gh-dark-mode-only )
![Hasura logo ](./assets/hasura_logo_primary_lightbg.png#gh-light-mode-only )
2019-03-06 08:15:45 +03:00
2023-12-21 12:40:19 +03:00
# Hasura GraphQL Engine
2018-11-23 16:02:46 +03:00
2024-08-29 16:27:31 +03:00
The Hasura engine is an open source project which supercharges the building of modern applications by providing access
to data via a single, composable, secure API endpoint.
2021-08-24 14:23:46 +03:00
2023-12-21 12:40:19 +03:00
< a href = "https://hasura.io/" > < img src = "https://img.shields.io/badge/🏠_Visit-Hasura_Homepage-blue.svg?style=flat" > < / a >
< a href = "https://hasura.io/community/" > < img src = "https://img.shields.io/badge/😊_Join-Community-blue.svg?style=flat" > < / a >
2021-08-24 14:23:46 +03:00
2023-12-21 12:40:19 +03:00
## Hasura V3
2018-11-23 16:02:46 +03:00
2024-08-30 08:24:26 +03:00
[![Docs ](https://img.shields.io/badge/docs-v3-yellow.svg?style=flat )](https://hasura.io/docs/3.0/getting-started/quickstart/)
2018-11-23 16:02:46 +03:00
2024-08-29 16:27:31 +03:00
The future of data delivery is GA: Supporting PostgreSQL (and its flavors), MongoDB, ClickHouse, and MS SQL Server. Also supports writing custom business logic using the Typescript, Python, and Go Connector SDKs. Here is the recommended [Getting Started ](https://hasura.io/docs/3.0/getting-started/quickstart/ ) guide on DDN.
2018-09-13 09:30:07 +03:00
2024-08-29 16:27:31 +03:00
The Hasura v3 engine code, which powers Hasura DDN, is in the `v3` folder of this repo. You can find more detailed
2024-05-30 13:21:37 +03:00
information about in this [v3 README ](/v3/README.md ).
2019-11-29 09:46:06 +03:00
2024-08-29 16:27:31 +03:00
The Hasura DDN architecture includes Data Connectors to connect to data sources. All Hasura connectors are also
available completely open source. Check out the [Connector Hub ](https://hasura.io/connectors/ ) which lists all
2023-12-21 12:40:19 +03:00
available connectors.
2018-09-13 09:30:07 +03:00
2024-08-29 16:27:31 +03:00
## Hasura V2
[![Latest release ](https://img.shields.io/github/v/release/hasura/graphql-engine )](https://github.com/hasura/graphql-engine/releases/latest)
[![Docs ](https://img.shields.io/badge/docs-v2.x-yellow.svg?style=flat )](https://hasura.io/docs)
Hasura V2 is the current stable version of the Hasura GraphQL Engine. Please find more
detailed information about the V2 Hasura Graphql Engine in the `v2` folder and this [README ](V2-README.md ).
2023-12-21 12:40:19 +03:00
## Cloning repository
2023-12-22 12:51:09 +03:00
2024-08-29 16:27:31 +03:00
This repository is a large and active mono-repo containing many parts of the Hasura ecosystem and a long git
history, that can make the first time cloning of the repository slow and consume a lot of disk space. We recommend
2023-12-22 12:51:09 +03:00
following if you are facing cloning issues.
2018-09-13 09:30:07 +03:00
2023-12-21 12:40:19 +03:00
### Shallow clone
2018-09-13 09:30:07 +03:00
2024-08-29 16:27:31 +03:00
This will only clone the latest commit and ignore all historical commits.
2018-09-13 09:30:07 +03:00
2023-12-21 12:40:19 +03:00
```
git clone https://github.com/hasura/graphql-engine.git --depth 1
```
2018-09-13 09:30:07 +03:00
2023-12-21 12:40:19 +03:00
### Git checkout with only Hasura V3 engine code
2024-08-29 16:27:31 +03:00
2023-12-21 12:40:19 +03:00
```
git clone --no-checkout https://github.com/hasura/graphql-engine.git --depth 1
cd graphql-engine
git sparse-checkout init --cone
git sparse-checkout set v3
git checkout @
```
2024-08-29 16:27:31 +03:00
2023-12-21 12:40:19 +03:00
This checkouts the top level files and only the `v3` folder which contains the Hasura V3 Engine code.
2018-09-13 09:30:07 +03:00
2018-07-11 16:42:49 +03:00
## Support & Troubleshooting
2023-12-21 12:40:19 +03:00
To troubleshoot most issues, check out our documentation and community resources. If you have encountered a bug or need
to get in touch with us, you can contact us using one of the following channels:
2018-07-11 16:42:49 +03:00
2024-08-29 16:27:31 +03:00
- Hasura DDN documentation: [DDN docs ](https://hasura.io/docs/3.0/ )
- Hasura V2 documentation: [V2 docs ](https://hasura.io/docs/ )
- Support & feedback: [Discord ](https://discord.gg/hasura )
- Issue & bug tracking: [GitHub issues ](https://github.com/hasura/graphql-engine/issues )
- Follow product updates: [@HasuraHQ ](https://twitter.com/hasurahq )
- Talk to us on our [website chat ](https://hasura.io )
2018-07-11 16:42:49 +03:00
2023-12-21 12:40:19 +03:00
## Code of Conduct
2024-08-29 16:27:31 +03:00
We are committed to fostering an open and welcoming environment in the community. Please see the
2023-12-21 12:40:19 +03:00
[Code of Conduct ](code-of-conduct.md ).
## Security
2018-07-11 07:57:03 +03:00
2018-10-13 11:29:18 +03:00
If you want to report a security issue, please [read this ](SECURITY.md ).
2021-08-24 14:23:46 +03:00
## Stay up to date
2023-12-21 12:40:19 +03:00
Join our communities to stay up to date on announcements, events, product updates, and technical blogs.
[https://hasura.io/community/ ](https://hasura.io/community/ )
2021-08-24 14:23:46 +03:00
2018-07-11 07:57:03 +03:00
## Contributing
2018-07-11 16:42:49 +03:00
Check out our [contributing guide ](CONTRIBUTING.md ) for more details.
2018-07-11 09:51:11 +03:00
2018-09-27 14:14:50 +03:00
## Brand assets
2024-08-29 16:27:31 +03:00
Hasura brand assets (logos, the Hasura mascot, powered by badges etc.) can be found in the
[v2/assets/brand ](assets/brand ) folder. Feel free to use them in your application/website etc. We'd be thrilled if you
2023-12-21 12:40:19 +03:00
add the "Powered by Hasura" badge to your applications built using Hasura. ❤️
## Licenses
2018-09-27 14:14:50 +03:00
2024-08-30 08:24:26 +03:00
### V3
All the [Data Connectors ](https://github.com/hasura/ndc-hub ) are available under
the [Apache License 2.0 ](https://www.apache.org/licenses/LICENSE-2.0 ).
The core [V3 GraphQL Engine ](v3/ ) is intended to be licensed under the [Apache License 2.0 ](https://www.apache.org/licenses/LICENSE-2.0 ) (Apache-2.0).
2023-12-21 12:40:19 +03:00
### V2
2018-07-11 09:51:11 +03:00
2023-12-21 12:40:19 +03:00
The V2 core GraphQL Engine is available under the [Apache License 2.0 ](https://www.apache.org/licenses/LICENSE-2.0 ) (Apache-2.0).
2018-07-11 09:51:11 +03:00
2024-08-29 16:27:31 +03:00
All **other contents** in the v2 folder (except those in [`server` ](v2/server ), [`cli` ](v2/cli ) and
2023-12-21 12:40:19 +03:00
[`console` ](v2/console ) directories) are available under the [MIT License ](LICENSE-community ).
This includes everything in the [`docs` ](v2/docs ) and [`community` ](v2/community )
2018-09-13 09:30:07 +03:00
directories.