Giter VIP home page Giter VIP logo

backend-checkpoint's Introduction

Knowledge checkpoint

Express is a massive topic, and we have covered a lot of ground. It's easy to get lost in the details, so here's a list of what you absolutely must be able to do:

Can you...

  • create a new express app?
  • listen for GET requests?
  • make some text show up in the browser?
  • render a static template?
  • render a template with data?
  • make your route paths dynamic? (e.g. /albums/:albumId)
  • show a form?
  • listen for POST requests?
  • read the data entered into the form?

Suggested practice

In case you want to solidify your knowledge with some exercise, here is an example small express apps you can build:

A contacts app with the following routes:

  • GET /contacts shows the names of all contacts
  • GET /contacts/:id shows the info for a single contact
  • GET /contacts/create shows a form for adding a contact
  • POST /contacts/create saves the data from the form

Some starter data is included in this repo as data.json

Additional practice

To get more familiar with building backends, create some sample data and build apps for:

  • pets
  • movies
  • cars
  • video games
  • tv shows

Try implementing the four kinds of routes listed above for each of these apps.# backend-checkpoint

backend-checkpoint's People

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.