DoReVo / headless_snake

headless snake game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Access live version

Go to https://snake-api.izzatfaris.site/

Tech stack

  • Typescript
  • Deployed on Cloudflare Worker
  • Hono as the routing library

Running the project

  1. Install dependencies with npm install
  2. Run development server with npm run dev
  3. Go to http//localhost:8080 to access the API

Quick note about where are things located

  • src/index.ts is the server. It contains the endpoints for our game.
  • Everything inside src/lib folder is used by the server. So peruse as needed when reading the server code.

About

headless snake game


Languages

Language:TypeScript 100.0%