Commit 2be64725 authored by Dinuja Theeraj's avatar Dinuja Theeraj

Upload New File

parent 82915ee0
const express = require("express");
const app = express();
const cors = require("cors");
const PORT = 3001;
app.use(express.json());
app.use(cors());
const uploadRoute = require("./routes/upload");
app.use("/upload", uploadRoute);
app.listen(PORT, () => {
console.log(`Server Running on Port ${PORT}...`);
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment