207 lines
13 KiB
Markdown
207 lines
13 KiB
Markdown
|
<br>
|
||
|
|
||
|
<p align="center">
|
||
|
<img width="300" src="https://github.com/surrealdb/surrealdb/blob/main/img/icon.png?raw=true" alt="SurrealDB Icon">
|
||
|
</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<p align="center">
|
||
|
<a href="https://surrealdb.com#gh-dark-mode-only" target="_blank">
|
||
|
<img width="300" src="https://github.com/surrealdb/surrealdb/blob/main/img/white/logo.svg?raw=true" alt="SurrealDB Logo">
|
||
|
</a>
|
||
|
<a href="https://surrealdb.com#gh-light-mode-only" target="_blank">
|
||
|
<img width="300" src="https://github.com/surrealdb/surrealdb/blob/main/img/black/logo.svg?raw=true" alt="SurrealDB Logo">
|
||
|
</a>
|
||
|
</p>
|
||
|
|
||
|
<h3 align="center">
|
||
|
<a href="https://surrealdb.com#gh-dark-mode-only" target="_blank">
|
||
|
<img src="https://github.com/surrealdb/surrealdb/blob/main/img/white/text.svg?raw=true" height="15" alt="SurrealDB">
|
||
|
</a>
|
||
|
<a href="https://surrealdb.com#gh-light-mode-only" target="_blank">
|
||
|
<img src="https://github.com/surrealdb/surrealdb/blob/main/img/black/text.svg?raw=true" height="15" alt="SurrealDB">
|
||
|
</a>
|
||
|
is the ultimate cloud <br> database for tomorrow's applications
|
||
|
</h3>
|
||
|
|
||
|
<h3 align="center">Develop easier. Build faster. Scale quicker.</h3>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<p align="center">
|
||
|
<a href="https://github.com/surrealdb/surrealdb"><img src="https://img.shields.io/badge/version-0.1.30-ff00a0.svg?style=flat-square"></a>
|
||
|
|
||
|
<a href="https://github.com/surrealdb/surrealdb"><img src="https://img.shields.io/badge/language-Rust-dca282.svg?style=flat-square"></a>
|
||
|
|
||
|
<a href="https://github.com/surrealdb/surrealdb/actions"><img src="https://img.shields.io/github/workflow/status/surrealdb/surrealdb/build?style=flat-square"></a>
|
||
|
|
||
|
<a href="https://surrealdb.pingpong.host"><img src="https://img.shields.io/uptimerobot/ratio/7/m784409192-e472ca350bb615372ededed7?label=cloud%20uptime&style=flat-square"></a>
|
||
|
|
||
|
<a href="https://hub.docker.com/repository/docker/surrealdb/surrealdb"><img src="https://img.shields.io/docker/pulls/surrealdb/surrealdb?style=flat-square"></a>
|
||
|
|
||
|
<a href="https://github.com/surrealdb/license"><img src="https://img.shields.io/badge/license-BSL_1.1-00bfff.svg?style=flat-square"></a>
|
||
|
</p>
|
||
|
|
||
|
<p align="center">
|
||
|
<a href="https://twitter.com/surrealdb"><img src="https://img.shields.io/badge/twitter-follow_us-1d9bf0.svg?style=flat-square"></a>
|
||
|
|
||
|
<a href="https://surrealdb.com/discord"><img src="https://img.shields.io/discord/902568124350599239?label=discord&style=flat-square&color=5a66f6"></a>
|
||
|
|
||
|
<a href="https://dev.to/surrealdb"><img src="https://img.shields.io/badge/dev-join_us-86f7b7.svg?style=flat-square"></a>
|
||
|
|
||
|
<a href="https://www.linkedin.com/company/surrealdb/"><img src="https://img.shields.io/badge/linkedin-connect_with_us-0a66c2.svg?style=flat-square"></a>
|
||
|
</p>
|
||
|
|
||
|
<p align="center">
|
||
|
<a href="https://www.linkedin.com/company/surrealdb/"><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/social/linkedin.svg?raw=true" alt="LinkedIn"></a>
|
||
|
|
||
|
<a href="https://twitter.com/surrealdb"><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/social/twitter.svg?raw=true" alt="Twitter"></a>
|
||
|
|
||
|
<a href="https://www.youtube.com/channel/UCjf2teVEuYVvvVC-gFZNq6w"><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/social/youtube.svg?raw=true" alt="Youtube"></a>
|
||
|
|
||
|
<a href="https://dev.to/surrealdb"><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/social/dev.svg?raw=true" alt="Dev"></a>
|
||
|
|
||
|
<a href="https://surrealdb.com/discord"><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/social/discord.svg?raw=true" alt="Discord"></a>
|
||
|
|
||
|
<a href="https://stackoverflow.com/questions/tagged/surrealdb"><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/social/stack-overflow.svg?raw=true" alt="StackOverflow"></a>
|
||
|
|
||
|
</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/whatissurreal.svg?raw=true"> What is SurrealDB?</h2>
|
||
|
|
||
|
SurrealDB is an end-to-end cloud native database for web, mobile, serverless, jamstack, backend, and traditional applications. SurrealDB reduces the development time of modern applications by simplifying your database and API stack, removing the need for most server-side components, allowing you to build secure, performant apps quicker and cheaper. SurrealDB acts as both a database and a modern, realtime, collaborative API backend layer. SurrealDB can run as a single server or in a highly-available, highly-scalable distributed mode - with support for SQL querying from client devices, GraphQL, ACID transactions, WebSocket connections, structured and unstructured data, graph querying, full-text indexing, geospatial querying, and row-by-row permissions-based access.
|
||
|
|
||
|
For more details see the [features](https://surrealdb.com/features), [documentation](https://surrealdb.com/docs), or [roadmap](https://surrealdb.com/roadmap).
|
||
|
|
||
|
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/cloud.svg?raw=true"> SurrealDB Cloud</h2>
|
||
|
|
||
|
SurrealDB can run as a single-instance, or as a highly-available, highly-scalable cluster. If you don't want to manage your own database, we can run SurrealDB for you, in the Cloud, with just a couple of clicks. To get started with SurrealDB Cloud see our [website](https://surrealdb.com).
|
||
|
|
||
|
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/gettingstarted.svg?raw=true"> Getting started</h2>
|
||
|
|
||
|
Getting started with SurrealDB is as easy as starting up the SurrealDB database server, choosing your platform, and integrating its SDK into your code. You can easily get started with your platform of choice by reading one of our tutorials.
|
||
|
|
||
|
##### Client side apps
|
||
|
|
||
|
- [Getting started with Javascript](https://surrealdb.com/docs/integration/javascript)
|
||
|
- [Getting started with Ember.js](https://surrealdb.com/docs/integration/emberjs)
|
||
|
- [Getting started with React.js](https://surrealdb.com/docs/integration/reactjs)
|
||
|
- [Getting started with Angular.js](https://surrealdb.com/docs/integration/angularjs) (coming soon)
|
||
|
- [Getting started with Vue.js](https://surrealdb.com/docs/integration/vue.js) (coming soon)
|
||
|
- [Getting started with Apollo GraphQL](https://surrealdb.com/docs/integration/apollo) (coming soon)
|
||
|
|
||
|
##### Server side code
|
||
|
|
||
|
- [Getting started with Deno](https://surrealdb.com/docs/integration/deno)
|
||
|
- [Getting started with Golang](https://surrealdb.com/docs/integration/golang)
|
||
|
- [Getting started with Python](https://surrealdb.com/docs/integration/python)
|
||
|
- [Getting started with Node.js](https://surrealdb.com/docs/integration/nodejs)
|
||
|
- [Getting started with Swift](https://surrealdb.com/docs/integration/swift) (coming soon)
|
||
|
- [Getting started with Rust](https://surrealdb.com/docs/integration/rust) (coming soon)
|
||
|
- [Getting started with Ruby](https://surrealdb.com/docs/integration/ruby) (coming soon)
|
||
|
- [Getting started with PHP](https://surrealdb.com/docs/integration/php) (coming soon)
|
||
|
|
||
|
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/documentation.svg?raw=true"> Documentation</h2>
|
||
|
|
||
|
For guidance on installation, development, deployment, and administration, see our [documentation](https://surrealdb.com/docs).
|
||
|
|
||
|
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/installation.svg?raw=true"> Installation</h2>
|
||
|
|
||
|
SurrealDB is designed to be simple to install and simple to run - using just one command from your terminal. In addition to traditional installation, SurrealDB can be installed and run with HomeBrew, Docker, or using any other container orchestration tool such as Docker Compose, Docker Swarm, Rancher, or in Kubernetes.
|
||
|
|
||
|
<h4>
|
||
|
<a href="https://surrealdb.com/install#gh-dark-mode-only">
|
||
|
<img width="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/white/apple.svg?raw=true">
|
||
|
</a>
|
||
|
<a href="https://surrealdb.com/install#gh-light-mode-only">
|
||
|
<img width="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/black/apple.svg?raw=true">
|
||
|
</a>
|
||
|
Install on macOS
|
||
|
</h4>
|
||
|
|
||
|
The quickest way to get going with SurrealDB on macOS is to use Homebrew. This will install both the command-line tools, and the SurrealDB server as a single executable. If you don't use Homebrew, follow the instructions for Linux below to install SurrealDB.
|
||
|
|
||
|
```bash
|
||
|
brew install surrealdb/tap/surreal
|
||
|
```
|
||
|
|
||
|
<h4>
|
||
|
<a href="https://surrealdb.com/install#gh-dark-mode-only">
|
||
|
<img width="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/white/linux.svg?raw=true">
|
||
|
</a>
|
||
|
<a href="https://surrealdb.com/install#gh-light-mode-only">
|
||
|
<img width="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/black/linux.svg?raw=true">
|
||
|
</a>
|
||
|
Install on Linux
|
||
|
</h4>
|
||
|
|
||
|
The easiest and preferred way to get going with SurrealDB on Unix operating systems is to install and use the SurrealDB command-line tool. Run the following command in your terminal and follow the on-screen instructions.
|
||
|
|
||
|
```bash
|
||
|
curl -L https://install.surrealdb.com | sh
|
||
|
```
|
||
|
|
||
|
<h4>
|
||
|
<a href="https://surrealdb.com/install#gh-dark-mode-only">
|
||
|
<img width="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/white/windows.svg?raw=true">
|
||
|
</a>
|
||
|
<a href="https://surrealdb.com/install#gh-light-mode-only">
|
||
|
<img width="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/black/windows.svg?raw=true">
|
||
|
</a>
|
||
|
Install on Windows
|
||
|
</h4>
|
||
|
|
||
|
The easiest and preferred way to get going with SurrealDB on Windows is to install and use the SurrealDB command-line tool. Run the following command in your terminal and follow the on-screen instructions.
|
||
|
|
||
|
```bash
|
||
|
iwr https://ps1.surrealdb.com -useb | iex
|
||
|
```
|
||
|
|
||
|
<h4>
|
||
|
<a href="https://surrealdb.com/install#gh-dark-mode-only">
|
||
|
<img width="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/white/docker.svg?raw=true">
|
||
|
</a>
|
||
|
<a href="https://surrealdb.com/install#gh-light-mode-only">
|
||
|
<img width="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/black/docker.svg?raw=true">
|
||
|
</a>
|
||
|
Run using Docker
|
||
|
</h4>
|
||
|
|
||
|
Docker can be used to manage and run SurrealDB database instances without the need to install any command-line tools. The SurrealDB docker container contains the full command-line tools for importing and exporting data from a running server, or for running a server itself.
|
||
|
|
||
|
```bash
|
||
|
docker run --rm -p 8000:8000 surrealdb/surrealdb:latest start
|
||
|
```
|
||
|
|
||
|
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/community.svg?raw=true"> Community</h2>
|
||
|
|
||
|
Join our growing community around the world, for help, ideas, and discussions regarding SurrealDB.
|
||
|
|
||
|
- View our official [Blog](https://medium.com/surrealdb)
|
||
|
- Follow us on [Twitter](https://twitter.com/surrealdb)
|
||
|
- Connect with us on [LinkedIn](https://www.linkedin.com/company/surrealdb/)
|
||
|
- Join our [Dev community](https://dev.to/surrealdb)
|
||
|
- Chat live with us on [Discord](https://discord.gg/GSeTUeA)
|
||
|
- Questions tagged #surrealdb on [Stack Overflow](https://stackoverflow.com/questions/tagged/surrealdb)
|
||
|
|
||
|
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/contributing.svg?raw=true"> Contributing</h2>
|
||
|
|
||
|
We would <img width="15" src="https://github.com/surrealdb/surrealdb/blob/main/img/love.svg?raw=true"> for you to get involved with SurrealDB development! If you wish to help, you can learn more about how you can contribute to this project in the [contribution guide](CONTRIBUTING.md).
|
||
|
|
||
|
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/security.svg?raw=true"> Security</h2>
|
||
|
|
||
|
For security issues, kindly email us at [security@surrealdb.com](mailto:security@surrealdb.com) instead of posting a public issue on GitHub.
|
||
|
|
||
|
<h2><img height="20" src="https://github.com/surrealdb/surrealdb/blob/main/img/license.svg?raw=true"> License</h2>
|
||
|
|
||
|
Source code for SurrealDB is variously licensed under a number of different licenses. A copy of each license can be found in [each repository](https://github.com/surrealdb).
|
||
|
|
||
|
- Libraries and SDKs, each located in its own distinct repository, are released under either the [Apache License 2.0](https://github.com/surrealdb/license/blob/main/APL.txt) or [MIT License](https://github.com/surrealdb/license/blob/main/MIT.txt).
|
||
|
- Certain core database components, each located in its own distinct repository, are released under the [Apache License 2.0](https://github.com/surrealdb/license/blob/main/APL.txt).
|
||
|
- Core database code for SurrealDB, located in [this repository](https://github.com/surrealdb/surrealdb), is released under the [Business Source License 1.1](/LICENSE).
|
||
|
|
||
|
For more information, see the [licensing information](https://github.com/surrealdb/license).
|