Skip to content

A cross-platform mini-program to show the subject rankings of Chinese universities.

License

Notifications You must be signed in to change notification settings

jyboy/subject-rankings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subject Rankings App

A full-stack mini-program to show the subject rankings of Chinese universities, utilizing a B/S architecture, responsive design, and mainstream technology stacks.

Build Status Codecov Coverage Cypress Status Cloudflare Page

Demo

Check out the live demo: subject-rankings.pages.dev

Features

  • 🌟 Modern and concise UI design
  • 📱 Responsive for PC and mobile
  • 🌐 Native support for English internationalization
  • ⚛️ React and Redux for the client-side
  • 🔧 TypeScript and Cloudflare services for the server-side
  • ✅ Comprehensive unit tests, integration tests, and E2E tests
  • ⚙️ Automated CI/CD workflows

Getting Started

Prerequisites

  • Node.js (version >= 18)
  • pnpm (version >= 8)

Installation

  • Clone the repository:
git clone [email protected]:jyboy/subject-rankings.git
  • Install dependencies for the server:
cd subject-rankings/server
pnpm install
  • Install dependencies for the client:
cd ../client
pnpm install

Development

To start the server in development mode:

cd server
pnpm run dev

To start the client in development mode:

cd client
pnpm run dev

Linting & Formatting

To identify linting errors:

  • Server: pnpm run lint from the server directory.
  • Client: pnpm run lint from the client directory.

To format your code:

  • Server: pnpm run format from the server directory.
  • Client: pnpm run format from the client directory.

Testing

Execute tests:

  • Server: pnpm run test from the server directory for backend tests.
  • Client: pnpm run test from the client directory for frontend tests.

License

This project is licensed under the MIT License.