diff --git a/backend/src/app.js b/backend/app.js similarity index 80% rename from backend/src/app.js rename to backend/app.js index d3816c3..8f31165 100644 --- a/backend/src/app.js +++ b/backend/app.js @@ -20,9 +20,9 @@ app.use(express.static("public")) app.use(cookieParser()) // routes import -import userRouter from './routes/user.routes.js' -import listRouter from './routes/list.routes.js' -import taskRouter from './routes/task.routes.js' +import userRouter from './src/routes/user.routes.js' +import listRouter from './src/routes/list.routes.js' +import taskRouter from './src/routes/task.routes.js' app.get('/',(req,res)=>{ res.json('hello') diff --git a/backend/src/constants.js b/backend/constants.js similarity index 100% rename from backend/src/constants.js rename to backend/constants.js diff --git a/backend/src/index.js b/backend/index.js similarity index 88% rename from backend/src/index.js rename to backend/index.js index 9c8efe9..907170e 100644 --- a/backend/src/index.js +++ b/backend/index.js @@ -1,5 +1,5 @@ import dotenv from "dotenv" -import connectDb from "./db/index.js"; +import connectDb from "./src/db/index.js"; import {app} from './app.js'; dotenv.config({ diff --git a/backend/src/vercel.json b/backend/vercel.json similarity index 100% rename from backend/src/vercel.json rename to backend/vercel.json