Skip to content

magua-io/tuangou-grubmarket-test

Repository files navigation

Tuangou GrubMarket Clone

This project was generated with Angular CLI version 1.1.3.

Development server

To run this app

npm install

npm start

Go to localhost:3000 to view the app

Note

For the retain previous scroll position, you can change the delayed time in

/node_modules/delayed-scroll-restoration-polyfill/index.js

change the value of var SCROLL_RESTORATION_TIMEOUT_MS

User Stories

The following required functionality is completed:

The following optional features are implemented:

  • Implemented infinite loading on deals
  • Added spinner when fetching data
  • Navigation Bar, containing Logo, "主页", "热帖", "团购", "注册" and "登入"
  • Filters to filter Official deals, or/and Active deals.
  • Animation when hover on the deal
  • Include view counts, likes counts, orders counts in deal
  • Sticky "结算" button on the deal-detail view
  • Able to hide and show more pickup locations
  • Added order history of deal
  • Implemented infinite loading on order history

The following Bonus features are implemented:

  • improve performance by reducing payload size, only load resources (e.g. images) when in viewing area, use cached content.

Screenshots

screenshot 1

screenshot 2

screenshot 3

screenshot 4

License

Copyright [2017] [Jiapei Liang]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.