Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lambtron committed Dec 1, 2022
1 parent b4434f7 commit 7800c71
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
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.

0 comments on commit 7800c71

Please sign in to comment.