add: added auth to the api

This commit is contained in:
Lukian 2025-04-22 12:10:22 +02:00
parent 6017eb9d1f
commit 217c763abd
8 changed files with 790 additions and 279 deletions

View file

@ -4,6 +4,7 @@ const path = require("path");
const config = require("./config");
const cookieParser = require("cookie-parser");
const cors = require("cors");
require("dotenv").config();
const app = express();
const port = config.port || 3000;