Created two API endpoints.

This commit is contained in:
Lukian 2024-12-11 13:00:19 +01:00
parent 00e78c2dff
commit 8a61aaa68f
8 changed files with 854 additions and 203 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;