Git Product home page Git Product logo

questionnaire's Introduction

问卷调查网站

  • 技术栈:

    • 前端:Vue3 + Element-Plus
    • 后端:Springboot + Mybatis-Plus + MySQL
  • feature:

    • Swagger3.0 API文档
    • 基础的用户状态管理和安全管理
    • 响应式布局
    • Material Design风格

运行

step1: 环境

  • Java 8,11

  • Maven

  • node.js 16+

  • yarn 或 npm

  • mysql

    step2: 启动后端

创建数据库

  1. mysql手动创建数据库 questionnaire
  2. 导入sql文件. 位置src/main/resources/starvey.sql

修改application.yml

修改为自己的数据库用户和密码

spring:
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/questionnaire?allowPublicKeyRetrieval=true&useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    username: root  # 改为你的
    password: 123456  # 修改为你的
    type: com.alibaba.druid.pool.DruidDataSource

启动 QuestionnaireApplication.java

位于 src/main/java/com/starvey/QuestionnaireApplication.java

step3: 启动前端

yarn 换成 npm 也可以

  1. 进入web目录
cd web
  1. 安装依赖
npm install 

3启动前端

npm start

打开浏览器,访问 localhost:3000

questionnaire's People

Contributors

kfor avatar szy1840 avatar leo220yuyaodog avatar ljp111111 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.