This tutorial walks through setting up a basic Deno project to serve static files for a browser-based dinosaur runner game. It covers project initialization with deno init, configuring the Oak framework for serving HTML/CSS/JS files, setting up environment variables, creating API routes with a health check endpoint, and
Table of contents
What You’ll LearnSetting up a basic deno projectProject ConfigurationBasic HTMLThe Server ( src/main.ts )Adding routes ( src/routes/api.routes.ts )Deploying to Deno DeployWhat’s Next?Sort: