Skip to content
Snippets Groups Projects
Commit 661f2cae authored by alrwasheda's avatar alrwasheda :speech_balloon:
Browse files

update small changes

parent 8c8c4a25
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ import showTableContent from "./db/DB_Information/showTableContent";
import runSeeders from "./db/seeder";
import accountsRouter from "./routes/accounts.routes";
import authRouter from "./routes/auth.routes";
import boatRoutes from "./routes/boatRoutes.routes";
import boatsRouter from "./routes/boatRoutes.routes";
let init = async () => {
//DB
......@@ -25,7 +25,7 @@ let init = async () => {
app.get("/", (req, res) => res.send("hello in server"));
app.use("/", authRouter);
app.use("/", accountsRouter);
app.use("/", boatRoutes.showAllBoatsRouter);
app.use("/", boatsRouter);
//DB-information section
await showAllDBs(sequelize);
await showTables(sequelize);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment