Skip to content

Instantly share code, notes, and snippets.

View nghuuquyen's full-sized avatar
🏠
Working from home

Quyen Nguyen Huu nghuuquyen

🏠
Working from home
View GitHub Profile
const express = require('express');
const fileUpload = require('express-fileupload');
const bodyParser = require('body-parser');
const app = express();
// default options
app.use(fileUpload());
app.use(bodyParser.urlencoded({extended: false}));
app.use(bodyParser.json());