Skip to content

Commit 9d17bfc

Browse files
committed
docs: add usage
1 parent 4db7cb2 commit 9d17bfc

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# github-oauth-api
2+
3+
## Usage
4+
5+
1. Fork this repo
6+
2. Replace the `name` field in `now.json` to what you want
7+
3. Add client secret: `now secrets add client_secret ${your secret here}`
8+
4. Run `now` to deploy
9+
10+
## License
11+
12+
MIT

now.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "github-oauth-api-example",
23
"env": {
34
"CLIENT_SECRET": "@client_secret"
45
}

0 commit comments

Comments
 (0)