Giter Site home page Giter Site logo

nemv3's Introduction

nemv3

node express mongo vue

/config/index.js 환경파일 세팅 방법

module.exports = {
    dbUrl: 'mongodb://localhost:27017/nemv' // 로컬
}

// app.js 에서 index.js 파일 불러들임. index 파일은 파일명을 넘기지 않아도 된다.
const cfg = require('../config')
mongoose.connect(cfg.dbUrl, { useNewUrlParser: true }, err => {
    ...
}

이런식으로 몽고디비 연결 문자열을 작성해야 웹서버가 정상구동됨


새 탭으로 마크다운 미리 보기

Shift + Cmd + v

분할탭으로 마크다운 실시간 보기

Cmd + k 누른다음 v

test

test

  1. test
  2. test
  3. test
  • red
    • green
      • blue

마크다운은 코드블럭을 <pre><code>로 감쌉니다.

nemv3's People

Contributors

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