stackoverflow-viewer Tailwind Templates

Stackoverflow Viewer

StackOverflow Viewer built on Vue3, TypeScript and Tailwind CSS

StackOverflow Viewer

Project Preview

preview image preview image preview image


This project is currently built on


Completed Requirements

  1. :heavy_check_mark: Display top 10 trending tags
  2. :heavy_check_mark: Data can be found using this (https://api.stackexchange.com/docs/tags)
  3. :heavy_check_mark: Default selected the first tag.
  4. :heavy_check_mark: Use a round corner for tag border.

    Question Listing

  5. :heavy_check_mark: The question list data can be found using this (https://api.stackexchange.com/docs/questions) with the selected tag as the filter.
  6. :heavy_check_mark: Support infinite scrolling (20 questions per fetch) and lazy load.
  7. :heavy_check_mark: When scrolling down the list, the “Trending Tags” section shall scroll together.
  8. :heavy_check_mark: Clicking a question will open a new tab to the question link.
  9. :heavy_check_mark: Highlight the score when it is below zero
  10. :heavy_check_mark: Highlight the answers with border only when it has more than 1 answer but not accepted.
  11. :heavy_check_mark: Highlight the answers when it has more than 1 answer and accepted.
  12. :heavy_check_mark: Apply round corner for user profile picture.

    Searching

  13. :heavy_check_mark: The search will apply searching to trending tags.
  14. :heavy_check_mark: The search bar is located at the top of the page, even when the list is scrolling.
  15. :heavy_check_mark: Search is performed when the keyword is typed, trending tags and listing shall update accordingly.

Usage Guide

  1. Install yarn (https://yarnpkg.com/getting-started/install)
  2. Install project dependencies
    yarn
    
  3. Build project
    yarn build
    
  4. Preview project at local machine
    yarn preview
    
    Then, open the browser, and type localhost:8080 to view the result.

Project Directory Explanation

/src               - root directory of source code
/src/components    - view component files
/src/utils         - share functions
/src/service       - API
/src/styles        - CSS style
/src/types         - share TypeScript type definition
/src/constants     - share constant

Top categories

Loading Svelte Themes