Giter VIP home page Giter VIP logo

dp_market's Introduction

DP

Installation

  • npm install

Configuration

  • src/config/index.js

Tutorial Mode

  • HTML tag에 data-intro='내용' data-step=숫자 (optional) 을 추가하면 된다.

Sweat Alert2

  • 서버에서 특정 성공 메세지를 띄우고 싶을 때
  • req.flash('swalSuccess', '문장') 을 호출하면 된다.

Development

  • npm start

Migration

  • npm run sequelize db:migrate

Migration Create

  • npm run sequelize migration:generate -- --name=파일명

2019. 07. 21

  • npm run sequelize db:migrate
  • node fake-data.js (한번만 실행하면 DB에 임시로 데이터를 집어넣습니다)
    1. provider 50명을 생성합니다. ex) [email protected], 비밀번호 123123
    2. consumer 1명을 생성합니다.
    3. question 1개를 생성합니다.
    4. transaction을 50개 생성합니다. 협상을 모두 마친 상태입니다.

변경해야 할 파일

  • src/app/controllers/admin-visualization/index.js
  • src/app/views/market-admin/visualization/index.pug "# dp_market"

dp_market's People

Contributors

azure84 avatar

Watchers

 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.