an adaptation of micro for deno
Except this one will serve any handlers it finds on the file system that mirror the request.
deno --allow-net --allow-read index.ts <directoryToServeFiles> [--port 8080]
- Add command line argument parsing
- So we can set the port
- Load
index.ts
by default if no handler is given as an argument - Walk folders to load all
.ts
files as handlers - Set what folder to use as current working directory
- Have handlers support returning:
- JSON
- Templates
- Write tests