摘要传统的问卷调查一般由调查者设计一份问卷,将问卷打印后分发给被调查者,再组织人员收回调查问卷并利用人工统计问卷调查的结果,这种方式花费大量的人力、物力,且打印出的问卷也不够多样化,无法满足应用的需求。为此,利用快速发展的web技术设计一个问卷调查系统是必要的。86900
根据上述需求,本文设计并实现了一个基于web的问卷调查系统。该问卷调查系统主要实现了问卷的创建、编辑、发布、填写、统计等功能。用户在成功注册登录该系统之后,可以进行问卷的创建和编辑,制作一份调查问卷;然后,用户可以发布调查问卷,被调查者可以在线进行问卷的填写并提交问卷;问卷被提交到系统后,系统会对填写的结果自动进行统计;最后,系统在前端页面将统计的数据以图表的形式展现给用户。
系统主要采用了前后端分离的开发模式。前端将react和redux相结合,并使用webpack进行了模块化开发。后端程序使用Node。js构建并采用了非关系型数据库MongoDB。整个系统遵循移动优先和响应式Web设计的理念,给移动端用户良好的视觉和操作体验。
经测试,利用该问卷调查系统,调查者可方便的制作一份调查问卷,被调查者能够很方便地在移动端设备上进行问卷调查,系统满足应用需求。
毕业论文关键词:问卷调查系统;MongoDB文档型数据库;数据可视化;前后端分离。
Abstract Traditional surveys generally composed of investigators designed a questionnaire after questionnaire distributed to respondents to print, and then organize personnel to recover the questionnaire and use the results of doing statistical surveys, this approach takes a lot of manpower, material and printing a questionnaire is not enough persification, unable to meet the needs of the application。 For this reason, the use of the rapid development of web technology to design a questionnaire system is necessary。
According to the above requirements, design and implement a survey system web-based。 The survey system is mainly to achieve the creation of the questionnaire, editing, publishing, fill, statistics and other functions。 After the questionnaire is submitted to the system; users log on to the system after a successful registration, you can create and edit questionnaire produced a questionnaire。 Users can publish the questionnaire, respondents can fill online questionnaire and submit the questionnaire results system will automatically fill in statistics。 Finally, the statistical data will be presented in chart form to the user。
System mainly uses the front and rear ends isolated development model。 The front end combine redux and react and use webpack to make modularized development。 Use Node。js to build backend application and use a non-relational database MongoDB。 The entire system follows the mobile first and responsive Web design concept, given the mobile end user a good visual and operating experience。
After testing, investigators can easily create a questionnaire by using the survey system, respondents can be easily conducted a questionnaire survey on mobile end devices and systems meet the application requirements。
Key words: Questionnaire Survey System; MongoDB Document Database; Data Visualization; Front and Back end Separation。
目录
第一章 绪论 1
1。1 系统设计的背景和意义 1
1。2 研究内容 1
1。3 论文组织结构 2
1。4 本章小结 2
第二章 系统主要架构及开发模式 3