express-csra v0.0.7
express-csra
Description
This project is a CLI that aims to quickly implement an express.js project.
The CLI allows you to create a standard CSRA, Controller, Service, Repository and API project.
Details
These dependencies will be installed when starting the project:
We also have some dev dependencies:
Installation
The installation of the package must be done globally:
npm install -g express-csra
Usage
At this version we have two commands available:
1# csra make -n \<project-name>, when running this command the project will be inicialized.
2# csra makeEntity -n \<entity-name>, this command must be run inside project directoy. When running this command a new entity will be generated inside domains directory.
3# csra insert -t \<entity-name>, this command must be run inside project directoy. When running this command you'll be able to install some features to your API. For now you can try:
csra insert -t jwtAuth, a login route, middleware and class will be added to your project.
csra insert -t axiosInstance, an axios instance will be added to your shared folder. (shared/connections/axios)
Contributing
Comming soon...
License
This project is licensed under the ISC License.
If you have any questions or want to collaborate, feel free to reach out to me at lange_sp@hotmail.com.