Files
XIVPlan-DB/mod.ts
Ean Milligan 27d6e71b00 init deno
2026-04-07 02:00:56 -04:00

14 lines
329 B
TypeScript

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]);
});