Simple Cli for create node API Project
separatejs helps developer to make api very quickly. This package provide separate layer of each route.
(npm i separatejs
)
Steps
- (
separate new
) - Enter Project name and hit enter next add some description. Database connection features not added. You can initilized your project without database connection.
- Your Project is ready.
- You can create CRUD of any route
- (
separate make <YourrouteName>
) - This command will create full CRUD for your route without Database connection. You can write your logic for this route in (
Routes/<YourrouteName>/<YourrouteName>.service.js
)
- (
separate new
For Init new project.
separate make <yourRouteName>
Run this command inside your separate project directory. This will Create full CRUD routes for your project.