@medly/create-api
v0.1.0
Published
An application for generating backend application using ExpressJS
Downloads
3
Readme
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:
jest
to writeunit tests
.prettier
to automaticallyformat
the code.eslint
to catch the error.