Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fahrtenbuch
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWP WS21_22 - Fahrtenbuch
Team Einhorn
fahrtenbuch
Commits
661f2cae
Commit
661f2cae
authored
3 years ago
by
alrwasheda
Browse files
Options
Downloads
Patches
Plain Diff
update small changes
parent
8c8c4a25
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/src/server.ts
+2
-2
2 additions, 2 deletions
server/src/server.ts
with
2 additions
and
2 deletions
server/src/server.ts
+
2
−
2
View file @
661f2cae
...
...
@@ -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
boatRoute
s
from
"
./routes/boatRoutes.routes
"
;
import
boat
s
Route
r
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
(
"
/
"
,
boat
Routes
.
showAllBoat
sRouter
);
app
.
use
(
"
/
"
,
boatsRouter
);
//DB-information section
await
showAllDBs
(
sequelize
);
await
showTables
(
sequelize
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment