Skip to content

The website serves as an integrated portal platform for PKU-DAIR teams, designed to support presentation, communication, and management.

License

Notifications You must be signed in to change notification settings

PKU-DAIR/DAIR_Portal_FE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PKU-DAIR Frontend

Logo

Static Badge Static Badge GitHub Repo stars

🌐 Project Overview

This project is the frontend of the PKU-DAIR Team Portal Website (accessible at pkudair.site).

The website serves as an integrated portal platform for academic teams, designed to support presentation, communication, and management. Its main purposes include:

  • Displaying the team’s research directions, scientific achievements, and latest updates;
  • Managing and showcasing team members’ profiles and academic resumes;
  • Maintaining and updating research projects, publications, and news;
  • Providing visualized editing and management tools to enhance usability and scalability.

The project is developed using the Vue framework and follows the Microsoft Fluent Design System, offering a modern interface and high usability.


🧱 Tech Stack

Category Technology / Framework
Frontend Vue 2 + Vue Router + Vuex
UI Design Microsoft Fluent Design + VFluent
Language TypeScript + JavaScript
Build Tool Webpack + Babel
Package Manager Yarn
Deployment Docker + Nginx
Visualization WYSIWYG Editor + Custom Component System

πŸ“ Project Structure

PKU-DAIR-Frontend/
β”œβ”€β”€ docs/                  # Project documentation and resources
β”‚   └── assets/            # Images and static resources
β”‚
β”œβ”€β”€ nginx/                 # Nginx configuration for Docker deployment
β”‚   └── nginx.conf         # Server routing and static resource setup
β”‚
β”œβ”€β”€ public/                # Static entry files for the Vue app
β”‚
β”œβ”€β”€ src/                   # Source code directory
β”‚   β”œβ”€β”€ components/        # Common components
β”‚   β”œβ”€β”€ views/             # Page components
β”‚   β”œβ”€β”€ router/            # Routing configuration
β”‚   β”œβ”€β”€ store/             # State management
β”‚   └── assets/            # Local static assets (icons, styles, etc.)
β”‚
β”œβ”€β”€ babel.config.js        # Babel configuration
β”œβ”€β”€ docker-compose.yml     # Docker Compose configuration (port mapping, etc.)
β”œβ”€β”€ Dockerfile             # Docker build file
β”œβ”€β”€ global.d.ts            # Global TypeScript type definitions
β”œβ”€β”€ vue.config.js          # Vue CLI configuration
└── package.json           # Project dependencies and package settings

✨ Key Features

πŸ“ WYSIWYG Visual Editor

Logo

πŸ‘₯ Team Member & Organization Management

Logo

πŸ§‘β€πŸ’Ό Personal CV Management and Updates

Logo

πŸ“° News & Project Management

Logo

Logo

πŸ“š Publication Management with BibTeX Import Support

Logo


βš™οΈ Development Setup

Install Dependencies

yarn

Start Development Server (with hot reload)

yarn serve

Build for Production

yarn build

Lint and Auto-fix Code

yarn lint

πŸš€ Deployment Guide

βœ… Recommended: Docker Deployment

  1. Build the project

    yarn build
  2. Modify deployment port (edit docker-compose.yml)

    version: '3'
    services:
      web:
        build: .
        ports:
          - "60081:80"
        restart: always
  3. Start the container

    docker compose up -d --build

πŸ’‘ Alternative: Manual Deployment

  1. Build the project

    yarn build
  2. Copy the dist/ directory to your server’s deployment path

  3. Configure Nginx based on nginx/nginx.conf and start the service


πŸ—ΊοΈ Development Roadmap

Status Planned Feature Description
🟒 In Progress Upgrade frontend framework to Vue 3 Improve performance, maintainability, and ecosystem compatibility
🟒 In Progress UI/UX Design Optimization Enhance visual consistency and responsive layout
🟑 Planned Multi-language (i18n) Support Enable automatic Chinese-English switching and localization
βšͺ Future Automated Paper Retrieval Integrate backend auto-fetching for dynamic content

🧩 Dependencies

This project is built upon VFluent.

Logo


πŸ“„ LICENSE

This project is licensed under the Apache License 2.0.

About

The website serves as an integrated portal platform for PKU-DAIR teams, designed to support presentation, communication, and management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published