diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..5ec9cc2 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: node index.js \ No newline at end of file diff --git a/README.md b/README.md index 45c8ae4..1bfcd38 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 diff --git a/app.json b/app.json new file mode 100644 index 0000000..03a4fa8 --- /dev/null +++ b/app.json @@ -0,0 +1,7 @@ +{ + "buildpacks": [ + { + "url": "https://github.com/jontewks/puppeteer-heroku-buildpack#22.0.0" + } + ] +} \ No newline at end of file