nestjs-api-generator
creates an API folder by duplicating the target folder.
npm i nestjs-api-generator
-
Create a template folder under the
src
folder. -
Run the command below
api -h
- The usage method is the similar as the
cp
command.
api -s <socure foler name> -t <target folder name>
# api -s template -t posts
Seog Donggeun - seogdonggeun@gmail.com
Project Link: nestjs-api-generator