박기홍

questions db updated

No preview for this file type
No preview for this file type
......@@ -23,13 +23,29 @@ const questionSchema = new schema({
type: String,
default: "아니다"
},
score1: {
fit: {
type: Number,
default: 50,
default: 0,
},
score2: {
dtl: {
type: Number,
default: -50,
default: 0,
},
trf: {
type: Number,
default: 0,
},
ctr: {
type: Number,
default: 0,
},
sup: {
type: Number,
default: 0,
},
act: {
type: Number,
default: 0,
},
});
......
......@@ -71,6 +71,9 @@ module.exports = function(app)
app.post('/addJobs', async(req, res, next) => {
// 보직 추가하는 api
const datas = req.body;
});
app.post('/addQuestions', async(req, res, next) => {
......