Coder Social home page Coder Social logo

db_design's Introduction

DB_DESIGN

logo

  • 2020 단국대학교 DB 설계 프로젝트
  • Team : SCENE kimchi (2조)
    member: 김영훈, 김학재, 남호철, 안석진, 윤지아

environment

Windows

in windows env.

  • MySQL 8.0 (download)
  • Node.js v12.19.0 (download)
  • npm v6.14.8 (will automatically install with nodejs)

Linux

in linux env.

sudo apt-get update
sudo apt-get install mysql-server
sudo apt-get install nodejs
sudo apt-get install build-essential

install

DB Setting

  • User Setting
    make user for project with

    create user 'dbdesign'@'%' identified with mysql_native_password BY 'P@ssw0rd';
    grant all privileges on kimchi.* to 'dbdesign'@'%';

    on root or other user in MySQL who have privileges.
    user id = dbdesign, pw = P@ssw0rd
    MySQL uses default port(3306)

  • DB Scheme Setting on mysql shell run script by

    mysql> source <PROJECT_PATH>/model/DAO/dbSetting.sql
    mysql> source <PROJECT_PATH>/model/DAO/dataSetting.sql

Run node.js Server

  • package install
    first install npm packages with package.json

    npm install

  • run node server
    just run server with

    node ./app.js

    but if you are developer and want to realtime modification on source code.

    supervisor ./app.js

    or if on deployment start and stop server with

    forever start ./app.js
    forever stop ./app.js

  • connect with web browser
    This project using prot 3000 on node server.
    in yout brower vou can go index page with
    "http://localhost:3000" or "http://127.0.0.1:3000"

screenshot

image

db_design's People

Contributors

hcnam avatar gouz7514 avatar

Stargazers

YoungHun Kim avatar Roldan Geonson avatar

Watchers

 avatar YoungHun Kim 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.