Socket
Socket
Sign inDemoInstall

generator-weplajs

Package Overview
Dependencies
668
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generator-weplajs

REST API server by expressjs framework


Version published
Weekly downloads
24
Maintainers
1
Install size
51.6 MB
Created
Weekly downloads
 

Readme

Source

generator-weplajs

ExpressJS 프레임웍 기반의 REST API 서버 개발을 위한 요맨 제너레이터입니다.

버그리포팅과 이슈는 언제나 환영입니다.😍
언제든지 깃헙 이슈에 등록해 주세요.

명령어

  • weplajs: 어플리케이션 설치
  • weplajs:api: API 추가
  • weplajs:error: 에러코드 추가

설치

먼저 npm을 이용해 Yeoman과 generator-weplajs를 여러분의 컴퓨터에 설치하세요. node.js는 이미 설치되어 있다고 가정합니다.

npm install -g yo
npm install -g generator-weplajs

그리고나서 여러분의 새로운 프로젝트를 만들어 보세요.

yo weplajs

실행

npm start
[STARTUP_INFO] Sync Database {"force":true}
[STARTUP_INFO] Server listening on port 3000 development mode

이제 브라우져에서 http://127.0.0.1:3000 주소에 접속할 수 있습니다.

http://127.0.0.1:3000/swagger에 접속하여 개발 문서도 확인해 보세요.

테스트

Mocha, Supertest로 API의 유닛 테스트를 실행해 보세요.

npm test

Keywords

FAQs

Last updated on 24 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc