JaviOverflow / express-api-generator

Generate endpoints and use cases based on the Clean Architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

express-api-generator

In order to use it, you can add the following alias to your .bashrc or .bash_profile

alias apigen='nodejs <path/to/index.js>'

Generate '/projects' endpoint with all methods (POST, GET, UPDATE, DELETE) and its use cases

$ apigen --name projects --all
or
$ apigen --name projects -crud

$ apigen -n projects -crud
or
$ apigen --name projects -crud

Generate '/logs' endpoint with the following methods (GET, POST) and its use cases

$ apigen --name logs -cr
or
$ apigen -n logs -cr

About

Generate endpoints and use cases based on the Clean Architecture

License:MIT License


Languages

Language:JavaScript 100.0%