GithubHelp home page GithubHelp logo

kehontas / express_setup_drills Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sf-wdi-25/express_setup_drills

0.0 3.0 0.0 7 KB

HW: 5 times, built a mini-express app

JavaScript 94.42% HTML 5.58%

express_setup_drills's Introduction

Practice Express

Getting Started

  • Fork this repo, and clone it into your dev folder on your local machine.

Homework

Your homework tonight is practice.

You must do this without any copy/paste at least 5 times.

  1. Create a directory to place a node project in.
  2. Use npm to create a package.json and install express.
  3. Add node_modules to a new .gitignore file.
  4. Make a new JavaScript file which creates a new express application.
  5. Create a public folder and configure Express to serve static assets.
  6. Add two routes to the express application. Use your imagination! Your routes can return anything you want.
  7. Use the browser to test that your routes display the correct data.

Bonus

  1. Add an HTML page in your project which uses server side rendering.
  2. Make a route which returns JSON data.
  3. Use your JSON route from your server side rendered HTML page. (AJAX FTW)

Submission

  • As you make code changes, frequently commit and push to GitHub.
  • Once you've finished the assignment and pushed your work to GitHub, make a pull request from your fork to the original repo.

Note: the pull-request will not be merged as other student's work would conflict.

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.