top 10 boilerplate ever
This commit is contained in:
commit
d0cc234857
17 changed files with 567 additions and 0 deletions
9
client/main.js
Normal file
9
client/main.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
import Route from "../route.js";
|
||||
import Auth from "../form/auth.js";
|
||||
import Format from "../common/format.js";
|
||||
|
||||
let main = new Route([Auth], async function (req, res, input) {
|
||||
return `Hello world! Your name is: ${Format.escape(input.username)}`
|
||||
});
|
||||
|
||||
export default main;
|
Loading…
Add table
Add a link
Reference in a new issue