8000 GitHub - gpsanches/widgets-spa: Widgets Single Page App Demo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gpsanches/widgets-spa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Widgets Single Page App Demo

This is a simple multi-page HTML site. The goal of this project is to take this hardcoded HTML site, and make it hit an API for showing/listing user and widget information.

Features

  • A user view that displays a list of users (data via api /users), each user should have a method of clicking to viewing all the details of that user (/user/:id)
  • A widget view that displays a list of widgets (/widgets), each widget should have a method of clicking to view the details of that widget (/widget/:id)
  • A search/filter on the user and widget list views
  • A method of creating a new widget (POST /widgets)
  • A method of updating an existing widget (PUT /widgets/:id)

API Documentation

There's an API available at http://spa.tglrw.com:4000 for retrieving the data used to make this app. The hard-coded data in the existing HTML is only a placeholder for style. The API returns and expects to receive JSON-encoded data.

The endpoints are as follows:

About

Widgets Single Page App Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 58.3%
  • CSS 41.7%
0