This project is the frontend for the Taiwan Legal Opinions Database. It's designed to provide a user-friendly interface for browsing, searching, and interacting with the legal opinions data.
The project is built using TypeScript and a host of modern web development technologies including React, Redux, Material-UI (MUI), and React Router DOM v6.
The project utilizes the following technologies:
- React: A JavaScript library for building user interfaces.
- Redux: A predictable state container for managing application state.
- React Router DOM: A routing library for declarative routing in React applications.
- Material-UI (MUI): A popular UI component library for React that implements Google's Material Design.
- Vite: A fast development server and build tool for modern web applications.
- TypeScript: A typed superset of JavaScript that compiles to plain JavaScript.
The project uses pnpm as a package manager. If you haven't installed it yet, you can do so by running npm install -g pnpm
.
- Install dependencies
pnpm install
- Run the project
pnpm dev
The project structure is as follows:
- src/components: This folder contains reusable UI components.
- src/pages: This folder contains the pages of the application. Each page corresponds to a route.
- src/routers: This folder contains the routing logic for the application.
- src/store: This folder contains the Redux store and related logic.