Code Monkey home page Code Monkey logo

express-views-lab's Introduction

Views in Express

Introduction

We've set you up in starter-code with an API for capturing your favorite embarrassing quotes – Quotes, Inc. We've thrown in a few styles for you, too, but you might have to mimic some class names and templates. Feel free to delete our style and fancy it up on your own.

Your goal will be to convert an Express JSON API to render views. It's up to you to take it from JSON to Handelbars, and we haven't given you a lot to start with. It'll help you practice installing the tools you need and setting them up from scratch.

Exercise

  • Use Handelbars to create views for your RESTful routing as follows:

    • An index page and a page to create new quotes with a form
    • One partial for the footer, head, and header that get rendered on each page
  • Render forms that submit data back to our Express app to make a full-stack app

Deliverable

Do as much as you can – the more complete the better – but bare minimum you should strive to create an index & a new page to POST to your create action.

Do your best to make it stylish, bonus points for pretty.

Additional Resources

express-views-lab's People

Contributors

benhulan avatar jpbarela avatar

Watchers

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