Skip to content

adagora/stackoverflow-demo

Repository files navigation

Demo stackoverflow

tag browser UI provided by the StackOverflow API (https://api.stackexchange.com/docs).

It includes:

  • pagginated table
  • collapse table
  • selector component based on MUI
  • filtering
  • fetching by tanstack query
  • basic storybook
  • breadcrumb, that shows the path or hierarchy of the selected row
  • row selection functionality

Setup Instructions

  1. Clone the Repository
git clone
  1. Navigate to the Project Directory:
cd project-name
  1. Install Dependencies:
yarn install
  1. Run the Project:
yarn start
  1. Open the Application: Visit http://localhost:3000 in your web browser to view the application.

  2. Run test

yarn run test
  1. Run storybook
yarn run storybook

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: "latest",
    sourceType: "module",
    project: ["./tsconfig.json", "./tsconfig.node.json"],
    tsconfigRootDir: __dirname
  }
};
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list