neues design ist jetzt zu hälfte da

This commit is contained in:
danielvici123
2024-11-01 20:43:05 +01:00
parent ae882a2a3a
commit cbc2e894ee
24 changed files with 181 additions and 111 deletions

View File

@@ -1,12 +1,14 @@
// main API file. Handles all the routing/api stuff
// @ts-ignore
import { Router, Application } from "https://deno.land/x/oak/mod.ts";
// @ts-ignore
import { oakCors } from "https://deno.land/x/cors/mod.ts";
const router = new Router();
const app = new Application();
// Creates the routes for the API server.
// Creates the routes for the API server.S
// Example: localhost:8000/api will show "testAPIPoint"
// in the HTML
router