Skip to content

Commit

Permalink
Habit route
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrithshagar committed Sep 25, 2023
1 parent 8e7227b commit a8e2076
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const cors = require("cors");
const UserRoute = require("./routes/UserRoute");
const AuthRoute = require("./routes/AuthRoute");
const TasksRoute = require("./routes/TasksRoute");
const NewHabitRoute = require("./routes/NewHabitRoute");

const username = "amrithshagar20";
const password = "Amrith2000"; // Provide the raw password
Expand Down Expand Up @@ -64,4 +65,5 @@ app.get("/", (req, res) => {
app.use("/api/UserRoute", UserRoute);
app.use("/api", AuthRoute);
app.use("/api/TasksRoute", TasksRoute);
app.use("/api/NewHabitRoute", NewHabitRoute);
module.exports = app;

0 comments on commit a8e2076

Please sign in to comment.