Building a Blog App with Node.js and MongoDB from Scratch
Introductions
As part of our second-semester project by AltSchool Africa, we were asked to create a simple API for a blog. The blog application will be built in NodeJS with Express.js framework, and the database used will be MongoDB.
Basic Concepts
W...
eddy.hashnode.dev18 min read
Edgar
Real old style DEV
First, make a folder called models. Create two files inside the folder and name them user.js and blog.js
|──model | | |──post.js | | |──user.js