-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
47 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
{ | ||
"index": "Introduction", | ||
"another": "Another Page", | ||
"advanced": "Advanced (A Folder)", | ||
"about": { | ||
"title": "About", | ||
"type": "page" | ||
}, | ||
"contact": { | ||
"title": "Contact ↗", | ||
"type": "page", | ||
"href": "https://twitter.com/shuding_", | ||
"newWindow": true | ||
} | ||
"get-started": "Get Started", | ||
"cli": "CLI" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Commands |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Tabs } from 'nextra/components' | ||
|
||
# Installation | ||
|
||
## Prerequisites | ||
|
||
- NodeJS installed (16+ recommended) | ||
- npm installed (or similar NodeJS packages manager) | ||
|
||
## Setup | ||
|
||
|
||
<Tabs items={['pnpm', 'npm', 'yarn']}> | ||
<Tabs.Tab> | ||
```bash {3} copy | ||
sudo pnpm add -g @authdog/hydra-cli | ||
``` | ||
</Tabs.Tab> | ||
<Tabs.Tab> | ||
```bash {3} copy | ||
sudo npm install -g @authdog/hydra-cli | ||
``` | ||
</Tabs.Tab> | ||
<Tabs.Tab> | ||
```bash {3} copy | ||
sudo yarn global add @authdog/hydra-cli | ||
``` | ||
</Tabs.Tab> | ||
</Tabs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
# Introduction | ||
|
||
Welcome to Nextra! This is a basic docs template. You can use it as a starting point for your own project :) | ||
# What is Hydra? | ||
|
||
## What is Nextra? | ||
Hydra is a lightweight framework written in TypeScript designed to solve Edge caching challenges for GraphQL endpoints such as automated caching and invalidation of queries, built-in security. | ||
|
||
A **simple**, **powerful** and **flexible** site generation framework with everything you love from Next.js. | ||
The core aspects of Hydra are: | ||
|
||
## Documentation | ||
- Self-hosted framework | ||
- Operates natively with Authdog backend (OpenID, Authz) | ||
- Cost effectiveness, 100% Edge Computing based | ||
- Automated mutation based invalidation | ||
- Automated cache segmentation | ||
- Cloudflare opinionated (KV, Durable Objects) | ||
|
||
The documentation is available at [https://nextra.site](https://nextra.site). | ||
Most Hydra operations can be achieved through Hydra CLI. | ||
|
||
We'll walkthrough the installation process in the next section. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.