create oauth login

Create authentication with oAuth using a third-party vendor. Currently, only GitHub is available, but more will be added
in the future.
This commit is contained in:
Rafi Arrafif
2025-08-05 17:11:36 +07:00
parent 88257d0eee
commit 419b5b0ae4
10 changed files with 132 additions and 4 deletions

View File

@ -4,7 +4,7 @@ validateEnv();
const { Elysia } = await import("elysia");
const { routes } = await import("./routes");
const app = new Elysia().use(routes).listen(process.env.PORT || 3000);
const app = new Elysia().use(routes).listen(process.env.APP_PORT || 3000);
console.log(
`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`