GithubHelp home page GithubHelp logo

polling-app's Introduction

polling-app

运行App

  1. Clone应用到本地
    git clone https://github.com/jasonluocesc/polling-app.git
    cd polling-app-server
  2. 创建 MySQL database
    create database polling_app
  3. 修改 MySQL username 与 password 为你的数据
    • 打开 src/main/resources/application.properties file.
    • 修改 spring.datasource.username and spring.datasource.password 为相关数据
  4. 运行 app 在命令行输入 -
    mvn spring-boot:run
    默认端口 5000. 访问地址 http://localhost:5000.
  5. 插入默认权限到数据库roles表中
    INSERT INTO roles(name) VALUES('ROLE_USER');
    INSERT INTO roles(name) VALUES('ROLE_ADMIN');
    任何新用户默认注册为 ROLE_USER.

前端运行教程 (polling-app-client)

修改路径到 polling-app-client-

cd polling-app-client

安装相关包并运行前端App -

npm install && npm start

前端App默认端口 3000.

polling-app's People

Contributors

jasonluocesc 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.