.github | ||
nginx | ||
server | ||
web | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
docker-compose.yaml | ||
docker-run.sh | ||
Dockerfile | ||
LICENSE | ||
README_EN.md | ||
README.md |
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.
Option 2: (Recommended for Production)
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
CHANGELOG
Follow major changes: MAJOR CHANGELOG