Skip to content

Commit b818134

Browse files
committed
feat: Add conference management functionality with CRUD operations
1 parent 552fdd7 commit b818134

File tree

16 files changed

+861
-151
lines changed

16 files changed

+861
-151
lines changed

backend/app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ app.use(express.static('public'));
1616

1717
import userRoutes from './src/routes/user.routes.js';
1818
import cvRoutes from './src/routes/cv.routes.js';
19+
import conferenceRoutes from './src/routes/conference.routes.js';
20+
1921
app.use('/api/users', userRoutes);
2022
app.use('/api/cv', cvRoutes);
21-
23+
app.use('/api/conferences', conferenceRoutes);
2224

2325
export { app };

backend/package-lock.json

Lines changed: 171 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"type": "module",
77
"scripts": {
88
"start": "nodemon server.js",
9-
"test": "echo \"Error: no test specified\" && exit 1"
9+
"test": "echo \"Error: no test specified\" && exit 1",
10+
"seed": "node src/utils/seedDatabase.js"
1011
},
1112
"author": "",
1213
"license": "ISC",
@@ -20,6 +21,7 @@
2021
"mongoose": "^8.18.0",
2122
"multer": "^1.4.4",
2223
"multer-gridfs-storage": "^5.0.2",
23-
"nodemon": "^3.1.10"
24+
"nodemon": "^3.1.10",
25+
"pdfkit": "^0.17.2"
2426
}
2527
}

backend/src/constants.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
export const DB_NAME = 'nextstepsdbcsvbuilder';
1+
export const DB_NAME = 'nextstepsdbcsvbuilder';
2+

0 commit comments

Comments
 (0)