-
Express is a framework for building web applications on top of Node.js. It simplifies the server creation process that is already available in Node. In case you were wondering, Node allows you to use JavaScript as your server-side language.
-
MongoDB is a database. This is the place where you store information for your websites (or applications).
-
CRUD is an acronym for Create, Read, Update and Delete. It is a set of operations we get servers to execute (POST, GET, PUT and DELETE requests respectively). This is what each operation does:
Create (POST) - Make something Read (GET)- Get something Update (PUT) - Change something Delete (DELETE)- Remove something POST, GET, PUT, and DELETE requests let us construct Rest APIs.
Project setup
$ npm install
Run
$ node src/server.js