Giter Site home page Giter Site logo

ls-pro-node-i's Introduction

Homework #1

Instructions


  1. Feynman Writing Prompts - Write out explanations of the following concepts like you are explaining it to a 12 year old. Doing this will help you quickly discover any holes in your understanding. Ask your questions on Slack.

    • Node
      • Node allows coding with JavaScript on the server-side.
    • Chrome's V8 Engine
      • Chrome's V8 Engine is an extension of C++ which implements a JavaScript engine.
    • GET request
      • A GET request is sent from the client to the server to request data.
    • Server
      • A server is a place where a website's runtime code exists and executes.
    • express
      • Express is a framework built on Node. Express is to Node as React is to JavaScript.
  2. Fork and clone this repo.

    • Run the command npm init to create a package.json file.
    • Install express npm install --save express
    • Create a file called server.js.
    • require express and create your server app.
    • Tell your app to listen to port 5000 and then start your server with node server.js. (Install nodemon globally if you would like. npm install -g nodemon)
    • Add a route called /name that returns your name.
    • Add a route called /friends that returns an array of some of your friends' names.
    • Add a route called /favorite-film that returns an object that has details about one of your favorite movies.
    • All of these routes are just handling GET requests.

Congratulations on finishing Homework #1!

For more information about our other courses visit: https://www.lambdaschool.com

ls-pro-node-i's People

Contributors

sunjieming avatar

Watchers

Vindhya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.