Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
g-pooja-03 committed Nov 30, 2024
2 parents 8213d0c + 9b966f9 commit 40dc1bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import commentController from './controller/comment';
import communityController from './controller/community';
import { FakeSOSocket } from './types';
import userController from './controller/user';
import cookieParser from 'cookie-parser';

dotenv.config();

Expand Down Expand Up @@ -64,6 +65,7 @@ app.use(
);

app.use(express.json());
app.use(cookieParser());

app.get('/', (req: Request, res: Response) => {
res.send('hello world');
Expand Down
2 changes: 2 additions & 0 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"dependencies": {
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"express": "^4.19.2",
"mongodb": "^6.8.0",
Expand All @@ -11,6 +12,7 @@
"@eslint/js": "^8.57.0",
"@stryker-mutator/core": "^8.6.0",
"@stryker-mutator/jest-runner": "^8.6.0",
"@types/cookie-parser": "^1.4.8",
"@types/cors": "^2.8.17",
"@types/dotenv": "^6.1.1",
"@types/express": "^4.17.21",
Expand Down

0 comments on commit 40dc1bb

Please sign in to comment.