问卷调查
Go to file
shiyiting763 9047e6a344
【北大开源实践】- 问卷断点续答 - 前端 (#282)
* feat:增加断点续答功能

* feat:增加断点续答功能

* fix: 同步代码并且解决冲突

---------

Co-authored-by: dayou <853094838@qq.com>
2024-07-05 10:37:04 +08:00
.github feat: 增加类型检测 2024-05-23 17:13:38 +08:00
nginx feat:新增预览功能 (#257) 2024-07-05 09:39:07 +08:00
server 【北大开源实践】增加数据导出功能 (#294) 2024-07-05 09:39:07 +08:00
web 【北大开源实践】- 问卷断点续答 - 前端 (#282) 2024-07-05 10:37:04 +08:00
.gitignore feat: 修改traceid生成规则,修改readme、图片和windows兼容 2024-02-06 21:36:19 +08:00
CONTRIBUTING.md feat: Initial project 2023-11-02 20:12:37 +08:00
docker-compose.yaml fix: 修改docker-compose 2024-05-20 20:18:59 +08:00
docker-run.sh feat: 修改nginx端口 2024-05-20 18:37:12 +08:00
Dockerfile fix: 修改docker-compose 2024-05-20 20:18:59 +08:00
LICENSE feat: Initial project 2023-11-02 20:12:37 +08:00
package.json 【北大开源实践】增加数据导出功能 (#294) 2024-07-05 09:39:07 +08:00
README_EN.md feat: Update README_EN.md 2024-07-05 09:39:07 +08:00
README.md feat: Update README.md 2024-07-05 09:39:07 +08:00


XIAOJUSURVEY is a lightweight, secure questionnaire system foundation that provides one-stop product-level solutions for individuals and enterprises, quickly meeting various online survey scenarios.

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.

The open-source project focuses on building a survey foundation, constructing around platform capabilities, engineering structure, and development systems, allowing everyone to 「quickly」 create their own 「exclusive」 questionnaire system: quickly understanding the ecological development philosophy.

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 official Feature 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 (under construction, application for co-construction welcome).

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

Intelligent Foundation: (under construction).

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.Start Database

The project uses MongoDB: MongoDB Installation Guide

  • Configure the database, check MongoDB configuration.
  • Start local database, check MongoDB startup.

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



QQ Group

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

WeChat Group

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

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.

Feature

Pay attention to weekly construction updates: Official Feature

CHANGELOG

Follow major changes: MAJOR CHANGELOG

Article Sharing

1、JueJin、2、InfoQ

Welcome to contribute.