Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apis/authCommand/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ COPY --from=build /app/package.json /app/yarn.lock* ./
RUN yarn install --production --frozen-lockfile
COPY --from=build /app/dist ./dist

EXPOSE 3000
CMD ["node", "dist/index.js"]
EXPOSE 5000
CMD ["node", "dist/server.js"]
4 changes: 2 additions & 2 deletions apis/authCommand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "1.0.0",
"main": "server.js",
"scripts": {
"start": "tsc && node dist/server.js",
"start": "node dist/server.js",
"dev": "nodemon src/server.ts",
"build": "tsc",
"build": "rm -rf ./dist && tsc",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier": "prettier --write .",
Expand Down
6 changes: 3 additions & 3 deletions apis/authCommand/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ app.use((req: Request, res: Response, next: NextFunction) => {
next();
});

app.get("/", (req, res) => {
res.send("Hello, TypeScript Node Express!");
app.get("/", (req: Request, res: Response) => {
res.send("Hello, TypeScript Node Express! Auth Command");
});

app.use("/doc", swaggerUi.serve, swaggerUi.setup(swaggerSpec));

app.use("/auth", authRoutes);
app.use("/", authRoutes);

app.use(errorHandler());

Expand Down
4 changes: 2 additions & 2 deletions apis/authQuery/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ COPY --from=build /app/package.json /app/yarn.lock* ./
RUN yarn install --production --frozen-lockfile
COPY --from=build /app/dist ./dist

EXPOSE 3000
CMD ["node", "dist/index.js"]
EXPOSE 5000
CMD ["node", "dist/server.js"]
6 changes: 3 additions & 3 deletions apis/authQuery/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ app.use((req: Request, res: Response, next: NextFunction) => {
next();
});

app.get("/", (req, res) => {
res.send("Hello, TypeScript Node Express!");
app.get("/", (req: Request, res: Response) => {
res.send("Hello, TypeScript Node Express! Auth Query");
});

app.use("/doc", swaggerUi.serve, swaggerUi.setup(swaggerSpec));

app.use("/auth", authRoutes);
app.use("/", authRoutes);

app.use(errorHandler());

Expand Down
75 changes: 0 additions & 75 deletions apis/gateway/Interface/controllers/auth/sign-up.controller.ts

This file was deleted.

73 changes: 0 additions & 73 deletions apis/gateway/Interface/docs/swagger.ts

This file was deleted.

31 changes: 0 additions & 31 deletions apis/gateway/Interface/middlewares/bcrypt.ts

This file was deleted.

29 changes: 0 additions & 29 deletions apis/gateway/Interface/middlewares/errorHandler.ts

This file was deleted.

57 changes: 0 additions & 57 deletions apis/gateway/Interface/middlewares/jwt.ts

This file was deleted.

Loading