https://github.com/peterdee/deno-snake
A backend for the JS Snake project
https://github.com/peterdee/deno-snake
deno mongodb oak
Last synced: about 1 month ago
JSON representation
A backend for the JS Snake project
- Host: GitHub
- URL: https://github.com/peterdee/deno-snake
- Owner: peterdee
- Created: 2020-11-09T08:55:41.000Z (over 5 years ago)
- Default Branch: stage
- Last Pushed: 2020-11-16T20:23:43.000Z (over 5 years ago)
- Last Synced: 2025-01-21T10:11:16.969Z (over 1 year ago)
- Topics: deno, mongodb, oak
- Language: TypeScript
- Homepage: https://deno-snake.herokuapp.com
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## deno-snake
A backend for the [JS Snake](https://github.com/peterdee/js-snake) project.
Stack: [Deno](https://deno.land), [Oak](https://github.com/oakserver/oak), [Mongo](https://www.mongodb.com)
DEV: http://localhost:7111
STAGE: https://deno-snake.herokuapp.com
Frontend endpoint: https://js-snake-jquery.herokuapp.com
### Deploy
`Deno` v1.5.2 was used during the development.
```shell script
git clone https://github.com/peterdee/deno-snake
cd ./deno-snake
```
### Environment
The `.env` file is required. See the [.env.example](.env.example) file for details.
### Launch
```shell script
bash run.sh
```
### Heroku
The `stage` branch is auto-deployed to Heroku.
See [this](https://github.com/chibat/heroku-deno-getting-started) for details regarding the Deno Buildpack.