diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07e6e47 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/node_modules diff --git a/README.md b/README.md index 6edd67d..9d763ed 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Build-Your-Own-RESTful-API -## Example Documents +### Example Documents ``` { "_id" : ObjectId("5c139771d79ac8eac11e754a"), @@ -26,7 +26,6 @@ ## Server Starting Code ``` -//jshint esversion:6 const express = require("express"); const bodyParser = require("body-parser"); @@ -44,7 +43,7 @@ app.use(express.static("public")); //TODO -app.listen(3000, function() { +app.listen(3000, ()=> { console.log("Server started on port 3000"); }); ```