app.post('/newpost', async (요청, 응답) => {
let post = 요청.body;
validate(post, 응답);
await db.collection('post').insertOne({title: post.title, content: post.content});
응답.redirect('/list');
});
db.collection()에 await을 붙인 이유가 db에 데이터를 저장하기 전에 응답.redirect()가 실행되기 때문인걸까요?