login and register logic
This commit is contained in:
parent
a2f8452eec
commit
8d0c02e27e
15 changed files with 496 additions and 106 deletions
6
index.js
6
index.js
|
@ -1,5 +1,5 @@
|
|||
import express from "express";
|
||||
import { doInit } from "./init.js";
|
||||
import { doInit } from "./routes/init.js";
|
||||
|
||||
const app = express()
|
||||
const port = 3000;
|
||||
|
@ -12,4 +12,6 @@ app.listen(port, () => {
|
|||
console.log(`Example app listening on port ${port}`)
|
||||
})
|
||||
|
||||
doInit(app);
|
||||
doInit(app);
|
||||
|
||||
// TODO: rate limit stuff
|
Loading…
Add table
Add a link
Reference in a new issue