A full-stack mini-program to show the subject rankings of Chinese universities, utilizing a B/S architecture, responsive design, and mainstream technology stacks.
Check out the live demo: subject-rankings.pages.dev
- 🌟 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
- Node.js (version >= 18)
- pnpm (version >= 8)
- 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
To start the server in development mode:
cd server
pnpm run dev
To start the client in development mode:
cd client
pnpm run dev
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.
Execute tests:
- Server:
pnpm run test
from the server directory for backend tests. - Client:
pnpm run test
from the client directory for frontend tests.
This project is licensed under the MIT License.