0.1.0 • Published 4 years ago
@medly/create-api v0.1.0
Create Api
An application for generating backend application using ExpressJS.
Getting started
| Package Manager | Command |
|---|---|
| NPM | npm init @medly/api |
| Yarn | yarn create @medly/api |
| PNPM | pnpx @medly/create-api |
Then follow the prompts or you can run command yarn create @medly/api <project-name> [options] with below options.
Options
| Flags | Description | Choices | Default |
|---|---|---|---|
-V, --version | output the version number | ||
-p, --package-manager <package-manager> | package manager | npm, yarn, pnpm | yarn |
-p, --language <language> | language | javascript, typescript | |
-i, --interactive | show interactive questionnaire | ||
-h, --help | display help for command |
Features
It sets up below things:
jestto writeunit tests.prettierto automaticallyformatthe code.eslintto catch the error.
0.1.0
4 years ago