From cf53b86383cbbedc974dab60f6751a55b58069ac Mon Sep 17 00:00:00 2001 From: moT01 <20648924+moT01@users.noreply.github.com> Date: Sun, 11 Oct 2020 21:30:27 -0500 Subject: [PATCH 1/3] fix: remove all instructions --- myApp.js | 78 ++++++++++++++++++++++---------------------------------- 1 file changed, 30 insertions(+), 48 deletions(-) diff --git a/myApp.js b/myApp.js index 1b5b6ff..e870fe0 100644 --- a/myApp.js +++ b/myApp.js @@ -1,57 +1,39 @@ - var express = require('express'); var app = express(); -// --> 7) Mount the Logger middleware here - - -// --> 11) Mount the body-parser middleware here - - -/** 1) Meet the node console. */ - - -/** 2) A first working Express Server */ - - -/** 3) Serve an HTML file */ - - -/** 4) Serve static assets */ - - -/** 5) serve JSON on a specific route */ - - -/** 6) Use the .env file to configure the app */ - - -/** 7) Root-level Middleware - A logger */ -// place it before all the routes ! - - -/** 8) Chaining middleware. A Time server */ - - -/** 9) Get input from client - Route parameters */ - - -/** 10) Get input from client - Query parameters */ -// /name?first=&last= - - -/** 11) Get ready for POST Requests - the `body-parser` */ -// place it before all the routes ! - - -/** 12) Get data form POST */ -// This would be part of the basic setup of an Express app -// but to allow FCC to run tests, the server is already active -/** app.listen(process.env.PORT || 3000 ); */ -//---------- DO NOT EDIT BELOW THIS LINE -------------------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + module.exports = app; From 4acdf22a8e962b6ae1f73c9aa77f2901f41a82f4 Mon Sep 17 00:00:00 2001 From: moT01 <20648924+moT01@users.noreply.github.com> Date: Sun, 11 Oct 2020 21:34:51 -0500 Subject: [PATCH 2/3] fix: update readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3e1e0a..183b913 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# Backend Challenges Boilerplate - Basic Express -[![Run on Repl.it](https://repl.it/badge/github/freeCodeCamp/boilerplate-express)](https://repl.it/github/freeCodeCamp/boilerplate-express) +# **freeCodeCamp** + +## [Introduction to the Basic Node and Express Challenges](https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/) From 15781dc22b22e504eb86397d513e69a4313a5371 Mon Sep 17 00:00:00 2001 From: moT01 <20648924+moT01@users.noreply.github.com> Date: Mon, 12 Oct 2020 11:37:09 -0500 Subject: [PATCH 3/3] fix: readme format --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 183b913..39e8cda 100644 --- a/README.md +++ b/README.md @@ -1,3 +1 @@ -# **freeCodeCamp** - -## [Introduction to the Basic Node and Express Challenges](https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/) +# [Introduction to the Basic Node and Express Challenges](https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/)