edapi

1.0.3 • Public • Published

CLI Edapi 💻

CLI for generate node base API or node auth API, respectively stored in edmarjunior/base-api and edmarjunior/auth-api

Installation

 $ npm i -g edapi

Utilization

Run the commands below (in Git Bash) to create a new project (a folder will be created in the directory that will execute the command)

To create an base API (without the authentication module) execute the command below.

 $ edapi create {apiName}

Arguments

  • '-a' or '--auth'. To create an auth-api (with the authentication module), just execute the same command above only by passing the argument '-a' or '--auth', according to any of the commands below:
 $ edapi create {apiName} -a
 $ edapi create {apiName} --auth
  • '-c' or '--code'. The '-c' or '--code' arguments can also be passed (according to commands below), with this the project will be created and already opened with Visual Studio Code
 $ edapi create {nome_da_api} -c
 $ edapi create {nome_da_api} -a --code

Readme

Keywords

Package Sidebar

Install

npm i edapi

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

7.18 kB

Total Files

5

Last publish

Collaborators

  • edmarjunior