Project Borealis web services API for the game, admin panel, developer services, and website.
- Your main router is defined in
src/index.ts. - Each endpoint has its own file in
src/endpoints/. - For more information read the chanfana documentation and Hono documentation.
- Clone this project and install dependencies with
pnpm install - Run
pnpm devto start a local instance of the API. - Open
http://localhost:8787/in your browser to see the Swagger interface where you can try the endpoints. - Changes made in the
src/folder will automatically trigger the server to reload, you only need to refresh the Swagger interface.
Run pnpm deploy to publish the API to Cloudflare Workers.