Giter Site home page Giter Site logo

dynamic-templating-test's Introduction

Dynamic templating test

Instructions

Iteration 0: Setup

  1. Clone the app
  2. Navigate to the dynamic-templating-test folder
  3. Run npm i (the same as npm install)
  4. Install dependencies: express and hbs npm packages
$ npm i express hbs
  1. Install dev dependency: nodemon
$ npm i nodemon --save-dev
  1. Run the app: nodemon server.js

Iteration 1: List all students

  1. Export array of students from the exam-info.js file
  2. Create new route pointing to the home (/), that should list all the students who took the exam. You have to create an hbs file where you can iterate over array of students (when you pass that array to the view through the route).

Iteration 2: List students who passed the exam

  1. Create a new route /results, and list all the students who passed the test and their score.
  2. These students, who passed, should be in descending order based on their score.

Happy coding! ❤️

dynamic-templating-test's People

Contributors

sandrabosk avatar jnmelio 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.