Not sure how I feel about the name but that's what I landed on ... good enough for now.
If you know about BattleSnake, you're most of the way there. I've taken a lot of ideas and concepts from there and applied them here. If you haven't, however, SaaS/BattleSnake is a coding competition where teams or individuals build "AI controlled" snakes (classic Snake) which duke it out on a board.
A small GraphQL service from which the client gets its data. There are a lot of leftover routes from before I implemented GraphQL...
Before first run you'll need:
- a redis server
- a postgresql server (you can probably use something else like MySQL but your mileage may vary with Sequelize)
- a
.env
file (see.env.example
)
Before first run:
$ yarn build-migrations && yarn migrate
To start
- Install dependencies
$ yarn
- Run
$ yarn start
- ExpressJS
- GraphQL
- Sequelize/PostgreSQL
- Redis
- Websockets (Socket.IO)
PRs welcome but ¯\_(ツ)_/¯ it's just a hobby project.