Key/value storage, local or remote
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
299 B

import { getLocalStorage } from "./src/main.ts";
import { startRestServer } from "./src/server.ts";
const PORT = 5001;
if (import.meta.main) {
await startRestServer(PORT, getLocalStorage("tk-storage-server"));
console.log(`Server running, use http://localhost:${PORT} to connect`);