Feature/news api
Compare changes
Files
3- Chif Gergő authored
+ 33
− 19
mongoose.connect('mongodb://localhost:27017/bodysch', { useNewUrlParser: true, useCreateIndex: true, useUnifiedTopology: true } ).then(
app.use(bodyParser.urlencoded({ extended: true })); // for parsing application/x-www-form-urlencoded