momi-foundation-coding / nodejs-api-cli

This is a scaffold for generating new API-based application for NodeJS and its frameworks such as Express, kemboijs, koa, AdonisJs etc.
http://www.kemboijs.org/
MIT License
10 stars 13 forks source link

restructure folder structure #74

Closed ezkemboi closed 4 years ago

ezkemboi commented 4 years ago

Describe the bug It is good to have a separate controller and service. Thus, need for folder restructure

To Reproduce

Expected behavior Have a folder structure inside source such as

src
     config

     controllers

     middlewares

     models

     services

     utils

     routers

     scripts

Screenshots

Additional context

ezkemboi commented 4 years ago

76 & #80 solved this.