0.1.0 • Published 2 years ago

@medly/create-api v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Create Api

An application for generating backend application using ExpressJS.

Getting started

Package ManagerCommand
NPMnpm init @medly/api
Yarnyarn create @medly/api
PNPMpnpx @medly/create-api

Then follow the prompts or you can run command yarn create @medly/api <project-name> [options] with below options.

Options

FlagsDescriptionChoicesDefault
-V, --versionoutput the version number
-p, --package-manager <package-manager>package managernpm, yarn, pnpmyarn
-p, --language <language>languagejavascript, typescript
-i, --interactiveshow interactive questionnaire
-h, --helpdisplay help for command

Features

It sets up below things:

  1. jest to write unit tests.
  2. prettier to automatically format the code.
  3. eslint to catch the error.