Skip to content

Commit

Permalink
add hosting options
Browse files Browse the repository at this point in the history
  • Loading branch information
aboutdavid committed Nov 30, 2022
1 parent 22a25e9 commit aa2c447
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
@@ -0,0 +1 @@
web: node index.js
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -5,7 +5,9 @@ An unoffical API for [Here Comes The Bus](https://herecomesthebus.com/)
## api

POST `/login`

**Querystrings**

- user: Your HCTB email
- pass: Your HCTB password
- code: Your HCTB district code, it's usually a 5 digit code that is used by the district.
Expand All @@ -23,6 +25,8 @@ Example Response:
```

## hosting:
[heroku](https://heroku.com/deploy?template=https://github.com/aboutdavid/hctb-api) | [glitch](https://glitch.com/edit/#!/import/git?url=https://github.com/aboutdavid/hctb-api.git)
### self-hosting
```bash
yarn install
yarn start
Expand Down
7 changes: 7 additions & 0 deletions app.json
@@ -0,0 +1,7 @@
{
"buildpacks": [
{
"url": "https://github.com/jontewks/puppeteer-heroku-buildpack#22.0.0"
}
]
}

0 comments on commit aa2c447

Please sign in to comment.