Git Product home page Git Product logo

node-express-solo-challenge's Introduction

##Node Express jQuery Code Challenge

Objectives

  • Set up server side routes to handle requests in a node/express application.
  • Send requests to the server using ajax in the client side script.
  • Display response on the DOM.
  • Gather input from client side and save this data on the server.
  • Demonstrate the separation of logic between the client and the server.

The Joke Book

Your client has asked you to create a Joke Book application. The server will contain all the current joke data and you have been provided with the initial server file (server/app.js).

Your job will be to build up the server around the data in the server/app.js file, display the current jokes to the DOM, and add the ability for users to add their own jokes and display these too.

#####How the joke data is structured You can view the full object in server/app.js. The data structure is an array of objects. These objects have three properties: whoseJoke, jokeQuestion, and punchLine.

jokes = [
  {
    whoseJoke: "Huck",
    jokeQuestion: "What's the difference between roast beef and pea soup?",
    punchLine: "Anyone can roast beef."
  }]

To get started, fork this repo and clone it to your machine.

Reminder

Focus on getting the app up and running first. You can come back and clean things up later if you have time.

node-express-solo-challenge's People

Contributors

kdszafranski avatar jonholup avatar huckbee avatar mhwalsh avatar

Watchers

James Cloos 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.