问卷调查
Go to file
dayou 0ea1d81ad3 fix: 修复最少最多选择 (#412)
* fix: 修复最少最多选择

* fix: 优化获取协作下拉框在协作弹窗出现时调用

* fix: 回退最多最少选择

* perl: 代码优化以及fix lint

---------

Co-authored-by: sudoooooo <zjbbabybaby@gmail.com>
2024-09-23 14:07:22 +08:00
.github feat: action不处理format 2024-08-12 14:10:08 +08:00
nginx 【Feature】:北大实践课作业 (#424) 2024-09-23 14:05:02 +08:00
server fix: 优化schema初始化管理 2024-09-23 14:07:02 +08:00
web fix: 修复最少最多选择 (#412) 2024-09-23 14:07:22 +08:00
.gitignore fix: 断点续答and编辑检测代码cr优化 (#428) 2024-09-23 14:05:39 +08:00
CONTRIBUTING.md feat: Initial project 2023-11-02 20:12:37 +08:00
docker-compose.yaml feat: 更新readme和docker tag 2024-07-17 23:12:40 +08:00
docker-run.sh feat: nginx配置 2024-05-20 20:20:48 +08:00
Dockerfile feat: nginx配置 2024-05-20 20:21:25 +08:00
LICENSE fix: 冲突修复 2024-04-01 22:49:57 +08:00
README_EN.md feat: 修改readme 2024-08-30 12:01:57 +08:00
README.md feat: 修改readme 2024-08-30 12:01:57 +08:00


XIAOJUSURVEY is an enterprises form builder and analytics platform to create questionnaires, exams, polls, quizzes, and analyze data online.

The internal system has accumulated over 40 question types and more than 100 selected templates, suitable for market research, customer satisfaction surveys, online exams, voting, reporting, evaluations, and many other scenarios. In terms of data capabilities, it has been honed through hundreds of millions of iterations, resulting in the ability to provide online reports with per-question statistics, cross-analysis, and multi-channel analysis, quickly meeting professional analysis needs.

Function Overview

  • Questionnaire Management: Create, edit, distribute, collect, data analysis.

  • Diverse Question Types: Single-line input, multi-line input, single choice, multiple choice, true/false, rating, voting, etc.

  • User Management: Login, registration, permissions management.

  • Data Security: Encrypted transmission, data masking, etc.

For more comprehensive features, please refer to the documentation.

(Both individual and enterprise users can quickly build survey solutions specific to their fields.)

Technology

Web: Vue3 + ElementPlus; Multi-end rendering for C-end (planning).

Server: Nestjs + MongoDB; Java (under construction).

Intelligent Foundation: (planning).

Project Advantages

1. Comprehensive and Professional

Ensuring concept interoperability is the foundation and core of the entire system. Based on practical business experience, two main categories have been established:

Business Descriptions: Questionnaire protocol, question type protocol.

Material Descriptions: Question type material protocol, including question types and settings.

The design language is the cornerstone of system flexibility and consistency, ensuring the system supports actual business operations with high user experience. It includes:

Design Standards: Flexible, noise-reducing, unified.

Interaction Standards: Follows user behavior characteristics, product positioning, and mature user habits.

In practical business usage, the system includes both questionnaire generation and deployment. We design question types in a scenario-based manner to ensure high consistency from production to application.

The core component of questionnaires is question types, and their configurability determines the extensibility of business scenarios and the system's reusability. Each question type has general capabilities and atomic characteristics, ensuring high customization.

Data encryption, sensitive information detection, and anti-vote brushing capabilities ensure the security of the questionnaire publishing and data collection process. Lightweight Design for Quick Integration and Flexible Expansion.

2. Product-Level Open-Source Solution for Rapid Survey Process Implementation

Provides complete product capabilities around the questionnaire lifecycle, including user management (login, registration, questionnaire permissions) and questionnaire management (create, edit, distribute, collect, data analysis), allowing for quick construction of survey solutions in specific fields.

High flexibility in questionnaire composition leads to high complexity in editing capabilities. We divide questionnaire editing into five sub-domains for product capability clustering and guide system modular design and development. Based on module arrangement and management, it can be used out-of-the-box.

The entire system is designed based on protocol standardization, function modularization, and management configuration, and provides a complete set of documentation and development and extension manuals.

The front-end and back-end separation, Dockerization solutions, and complete deployment guidance manual.

Quick Start

Node Version >= 18.x, check environment preparation guide.

Clone Project

git clone git@github.com:didi/xiaoju-survey.git

Server Startup

Option 1: Quick Start without Database Installation

This is convenient for quickly previewing the project. For formal projects, use Option 2.

1.Install Dependencies

cd server
npm install

2.Start

npm run local

The service relies on mongodb-memory-server: 1.Data is stored in memory and will be updated upon service restart. 2.When starting a new instance of the memory server, it will automatically download MongoDB binaries if not found, which might take some time initially.

1.Configure Database

The project uses MongoDB: MongoDB Guide

Configure the database, check MongoDB configuration.

2.Install Dependencies

cd server
npm install

2.Install Dependencies

npm run dev

Frontend Startup

Install Dependencies

cd web
npm install

Start

npm run serve

Access

Questionnaire Management End

http://localhost:8080/management

Questionnaire Deployment End

Create and publish a questionnaire.

http://localhost:8080/render/:surveyPath



WeChat Group

The official group will release the latest project news, construction plans, and community activities. Any questions and cooperation can contact the assistant:

QQ Group

The official group will release the latest project news, construction plans, and community activities. Welcome to join:

Star

Open source is not easy. If this project helps you, please star it ❤️❤️❤️. Your support is our greatest motivation.

Feedback

If you use this project, please leave feedback:I'm using, Your support is our greatest.

Contribution

If you want to become a contributor or expand your technical stack, please check: Contributor Guide. Your participation is our greatest honor.

Future Tasks

  1. Official Feature
  2. WIP

CHANGELOG

Follow major changes: MAJOR CHANGELOG