forked from argotdev/deno-graphql
-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 changed file
with
23 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
# deno-graphql | ||
# How to Build a GraphQL Server with Deno | ||
|
||
[_View the tutorial on Deno's blog._](https://deno.com/blog/build-a-graphql-server-with-deno) | ||
|
||
[Live demo.](https://argotdev-deno-graphql.deno.dev/graphql) | ||
|
||
## Run | ||
|
||
Make sure to add `DATABASE_URL` to your environmental variables, then: | ||
|
||
``` | ||
deno run --allow-net --allow-env server.ts | ||
``` | ||
|
||
## Deploy | ||
|
||
- Go to [Deno Deploy](/deploy) and sign in with your GitHub account. | ||
|
||
- Create a New Project, then connect your GitHub repo. | ||
|
||
- Add the `DATABASE_URL` environmental variable. | ||
|
||
- Click "Link" and watch it deploy in seconds. |