import { STATUS_CODE, STATUS_TEXT, StatusCode } from '@std/http'; import config from '~config'; Deno.serve({ port: config.api.port }, async (req) => { if (req.method === 'GET') { // handle all gets } else { // handle auth then all other shiz } return new Response(STATUS_TEXT[STATUS_CODE.NotImplemented]); });