weekly updates: learning JS on the backend[3/3/2022]

server.js file snippet: //connecting our database
mongoose.connect('mongodb://localhost/blog')
// { useNewUrlParser: true, useUnifiedTopology: true })// mongoose.connect('mongodb://127.0.0.1/blog')
app.set('view engine', 'ejs')app.use(express.urlencoded({ extended: false }))
app.use(bodyParser.urlencoded({ extended: false }))
So then what is next? Can I still use this? The tutorial was published in 2020.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Toni T Diep

Toni T Diep

multilingual Software Engineer, always learning and growing.