https://github.com/jdm-github/jdm-react-router-cli
A CLI tool for quickly generating a serverless Express setup with Netlify, including Express routers, models, middleware, and React Router setup for seamless development.
https://github.com/jdm-github/jdm-react-router-cli
automation cli express generator jdm netlify npm react-router serverless
Last synced: about 1 month ago
JSON representation
A CLI tool for quickly generating a serverless Express setup with Netlify, including Express routers, models, middleware, and React Router setup for seamless development.
- Host: GitHub
- URL: https://github.com/jdm-github/jdm-react-router-cli
- Owner: JDM-Github
- License: other
- Created: 2025-03-31T09:18:33.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T09:36:12.000Z (about 1 year ago)
- Last Synced: 2025-03-31T10:34:12.045Z (about 1 year ago)
- Topics: automation, cli, express, generator, jdm, netlify, npm, react-router, serverless
- Language: JavaScript
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JDM CLI
### Generate Express routers, models, and middleware effortlessly.
## Installation
To install JDM CLI globally, run:
```sh
npm install -g jdm-cli
```
## Usage
After installation, you can use `jdm` from the terminal.
### **Create a New Component**
```sh
jdm create
```
- **type**: `router`, `model`, or `middleware`
- **name**: The name of the component
Example:
```sh
jdm create router user
```
### **Setup a New Project**
```sh
jdm setup [options]
```
Options:
- `--force`: Overwrite existing files
- `--clean`: Remove existing project files before setup
### **Clean a Project**
```sh
jdm clean
```
Removes unnecessary files and folders from your project.
### **View License**
```sh
jdm license
```
Displays the **MIT License** for JDM CLI.
## License
JDM CLI is licensed under the **MIT License**. Run `jdm license` to view it.