GithubHelp home page GithubHelp logo

web322-assignment4's Introduction

WEB322 - Assignment 4

In this assignment we implemented Handlebars to our HTML pages. This allows for dynamic rendering of HTML. All queries now render HTML instead of returning stringified JSON. All pages were updated to use Handlebars.

The following queries are available:

/employees?status

This returns a list of employees filtered by status, either "Full Time" or "Part Time". For example /employees?status=Full Time returns a list of employees that have "Full Time" status

/employees?department

This returns a list of employees filtered by department. For example /employees?department=1 returns a list of employees that are in department 1.

/employees?manager

This returns a list of employees filtered by their manager number. For example /employees?manager=1 returns a list of employees who's manager's employee number is 1.

/employee/:num

This returns the result of searching for an employee by their employee number. For example /employee/2 will return employee number 2. This page allows you to edit and update the employee's information.

Please note that these queries cannot be chained together.

My intention with uploading school assignments on GitHub is merely to build a portfolio of my work. Please do not plagiarize.

web322-assignment4's People

Contributors

kenxjy avatar

Watchers

 avatar

Forkers

xiaozhuanli

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.