0.0.7 • Published 1 year ago

express-csra v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

express-csra

License

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.

0.0.5

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.4

1 year ago

0.0.1

1 year ago