Giter Club home page Giter Club logo

clone_kurly_backend's Introduction

clone_kurly_backend

๐Ÿ–ฅ kurly clone backend repository

$ npm init -y  // package.json ์„ค์น˜
$ npm install express // Express ์„ค์น˜

TyoeORM & MySQL ์—ฐ๋™

$ npm install typeorm      # typeorm ์„ค์น˜ ๋ช…๋ น์–ด

DB ์—ฐ๋™ & dbmate ์„ค์น˜

dbmate ์„ค์น˜์‹œ bash : command not found ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Œ.

$ npm install -g dbmate // -g ์˜ต์…˜์„ ํ†ตํ•ด ์„ค์น˜ ํ•ด์•ผ์ง€ ํ…Œ์ด๋ธ” ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜์ด ๊ฐ€๋Šฅ

ํ…Œ์ด๋ธ” ์ƒ์„ฑ ๋ช…๋ น์–ด

$ dbmate new ํ…Œ์ด๋ธ”๋ช… // ํ•ด๋‹น ํ…Œ์ด๋ธ”์ด ์ƒ์„ฑ๋จ
$ dbmate up //ํ•ด๋‹น ํ…Œ์ด๋ธ”์ด ๋“ฑ๋ก
$ npm install nodemon  # global install

node-module ํŒจํ‚ค์ง€ ์ „์ฒด ์„ค์น˜

$ npm install i // package.json ์— ์žˆ๋Š” ๋ชจ๋“  ํŒจํ‚ค์ง€ ์„ค์น˜ 
$ npm start // ์„œ๋ฒ„ ์‹คํ–‰
// ์—ฌ๊ธฐ์„œ ์„œ๋ฒ„ ์ข…๋ฃŒ ์—†์ด ์‹คํ–‰ํ•˜๋ ค๋ฉด ์‹คํ–‰์ค‘์ธ ํ„ฐ๋ฏธ๋„์— 'rs' ์ž…๋ ฅ

ํ•ด๊ฒฐ ์•ˆ๋  ์‹œ ๋ฐฉ๋ฒ•

$ npm uninstall typeorm    # typeorm ์‚ญ์ œ
$ npm install mysql        # mysql ์„ค์น˜
$ npm install mysql2       # mysql2 ์„ค์น˜
$ npm install typeorm    # typeorm ์„ค์น˜

clone_kurly_backend's People

Contributors

seongjoon-k 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.