Code Monkey home page Code Monkey logo

nembv's Introduction

nembv

Node Express Mongo Bootstrap Vue Stack

설치 방법

download

$ git clone https://github.com/fkkmemi/nembv.git

npm install

$ npm install
$ cd fe
$ npm install

config file definition

cfg/cfg.js

module.exports = {
  db: {
    url: 'mongodb://nembv:[email protected]:27017,cluster0-shard-00-01-prgy7.mongodb.net:27017,cluster0-shard-00-02-prgy7.mongodb.net:27017/faw?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin',    
    // url : "mongodb://xxx.com:27170/xxx"
    // url : 'mongodb+srv://id:[email protected]/yyy' // 3.6이상
  },
  web: {
    host: 'localhost:3000',
    cors: true,
    secret_key : 'veryhardultrakey',
    // 추후 http, https, port등 지정
  },
  pm2: {
    user: 'admin',
    host: 'xx.com',
    port: '22',
    path: '/var/www/nembv',
  },
};

fe/static/cfg.js

module.exports = {
  path: {
    // api : '/api/',
    api: 'http://localhost:3000/api/',
  },
};

run

$ npm start
$ cd fe
$ npm run dev

참고

mongoDB read/write 되는 db와 cfg.js 파일만 이상 없으면 문제 없이 동작되는 것을 확인 했습니다.

궁금한 사항은 메일 보내주시면 답변 드리겠습니다.

screen shot

nembv

remark

Node Express Mongo BootstrapVue 로 다양한 back,front-end의 경계를 허물고 싶은 프로젝트 입니다.

https://fkkmemi.github.io/categories/#nembv

이곳에서 계속 제작중이니 해당 스택 개발자들이 유용하게 쓰이길 희망합니다.

한국형 게시판을 추가중입니다.

nembv's People

Contributors

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