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

update

parent 61f48e4e
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ import runSeeders from "./db/seeder";
import accountsRouter from "./routes/accounts.routes";
import authRouter from "./routes/auth.routes";
import boatsRouter from "./routes/boatRoutes.routes";
import userRouter from "./routes/user.routes";
let init = async () => {
//DB
......@@ -26,6 +27,7 @@ let init = async () => {
app.use("/", authRouter);
app.use("/", accountsRouter);
app.use("/", boatsRouter);
app.use("/", userRouter);
//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