Merge pull request #43 from moT01/fix/remove-all-instructions

Fix/remove all instructions
This commit is contained in:
Randell Dawson 2020-11-02 15:19:15 -08:00 committed by GitHub
commit 49538e5807
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 50 deletions

View file

@ -1,2 +1 @@
# Backend Challenges Boilerplate - Basic Express
[![Run on Repl.it](https://repl.it/badge/github/freeCodeCamp/boilerplate-express)](https://repl.it/github/freeCodeCamp/boilerplate-express)
# [Introduction to the Basic Node and Express Challenges](https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/)

View file

@ -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=<firstname>&last=<lastname>
/** 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;