Skip to content

pubcore/generator-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Commandline tool create a pubcore component for a RESTful api scaffolding

Prerequisites

  • latest version of nodejs
  • latest version of npm

It will create/setup minimum package structure for

  • pubcore component for a @pubcore/node-composition
  • eslint
  • testing via express and mocha
  • coverage via nyc

How to use

  1. create a directory (convention: lower case, dash-separated)
mkdir my-api
  1. and change into it
cd my-api
  1. execute
npx -p yo -p @pubcore/generator-rest yo @pubcore/rest
  1. (optional) execute prepared test example to check installation
npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published