Giter Club home page Giter Club logo

project-cowalker-server's Introduction

project_cowalker_server

logo.png

의존성

"dependencies": {
    "accepts": "^1.3.5",
    "aws-sdk": "^2.267.1",
    "body-parser": "~1.18.2",
    "cookie-parser": "~1.4.3",
    "cors": "^2.8.4",
    "debug": "~2.6.9",
    "express": "^4.16.3",
    "fcm-node": "^1.2.1",
    "helmet": "^3.12.1",
    "jade": "~1.11.0",
    "jsonwebtoken": "^8.3.0",
    "mongoose": "^5.1.7",
    "morgan": "~1.9.0",
    "multer": "^1.3.1",
    "multer-s3": "^2.7.0",
    "promise-mysql": "^3.3.1",
    "redis": "^2.8.0",
    "serve-favicon": "~2.4.5"
  }

시작하기

모든 소스코드는 vscode/sublimetext + Windows10 + Node.js 8 환경에서 작성되었습니다.

  • Node.js의 Async/Await을 사용해 (Promise) 비동기 제어를 하고 있습니다.
  • Node.js의 버전을 7.6 이상으로 유지해햐 합니다.

설치하기

  • nodejsnpm 을 설치합니다. 설치 방법은 nodejs.org 를 참고하세요.
  • Node.js 8 LTS 버전을 설치합니다.
  • 실행에 필요한 의존성을 설치합니다.
  npm install

실행하기

  npm start
  • localhost:3000으로 접속이 가능합니다

AWS EC2 실행 하기

  • nodejsnpm 을 설치합니다. 설치 방법은 nodejs.org 를 참고하세요.

  • Node.js 8 LTS 버전을 설치합니다.

  • 실행에 필요한 의존성을 설치합니다.

  npm install

실행하기

  • Express 앱용 프로세스 관리자 pm2 를 이용해 배포 합니다.
  npm install pm2 -g
  • Express 앱용 프로세스 관리자 pm2 를 이용해 배포 합니다.
  pm2 start ./bin/www --name "앱 이름"
  • 현재 실행중인 프로세스 목록을 확인 합니다.
  pm2 list
  • 프로세스를 중지 합니다.
  pm2 delete --name "앱 이릅"
  • 프로세스를 모니터 합니다.
  pm2 monit --name "앱 이름"
  • ec2_ip:3000으로 접속이 가능합니다

배포

  • AWS EC2 - 애플리케이션 서버
  • AWS RDS - db 서버
  • AWS S3 - 저장소 서버

사용된 도구

  • Node.js - Chrome V8 자바스크립트 엔진으로 빌드된 자바스크립트 런타임
  • Express.js - Node.js 웹 애플리케이션 프레임워크
  • NPM - 자바 스크립트 패키지 관리자
  • PM2 - Express 앱용 프로세스 관리자
  • vscode - 편집기
  • sublimetext - 편집기
  • Mysql - DataBase
  • MongoDB - DataBase
  • NGINX - web server
  • AWS EC2 - 클라우드 환경 컴퓨팅 시스템
  • AWS RDS - 클라우드 환경 데이터베이스 관리 시스템
  • AWS S3 - 클라우드 환경 데이터 저장소
  • FCM - 클라우드 메시징 시스템

개발자

기여자 목록을 확인하여 이 프로젝트에 참가하신 분들을 보실 수 있습니다.

cowalker의 다른 프로젝트

project-cowalker-server's People

Contributors

moonjihyun avatar bghgu avatar mmyungji avatar limkyuhee avatar

Watchers

James Cloos 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.