# ts-express-mongoose-crud-gen

> TS Express Monggose CRUD generator is npm package that helps to generate typescript modules

Latest version **1.0.1** (published 2023-12-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install ts-express-mongoose-crud-gen
pnpm add ts-express-mongoose-crud-gen
yarn add ts-express-mongoose-crud-gen
bun add ts-express-mongoose-crud-gen
```

Provides the command `generate-modules`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-12-27 |
| First published | 2023-12-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Miraj Hossen |
| Maintainers | mirajhossen |
| Keywords | ts, modules, generator |

## Links

- npm: https://www.npmjs.com/package/ts-express-mongoose-crud-gen
- Repository: https://github.com/itsmiraz/ts-express-mongoose-crud-generator
- Homepage: https://github.com/itsmiraz/ts-express-mongoose-crud-generator.git#readme
- Issues: https://github.com/itsmiraz/ts-express-mongoose-crud-generator.git/issues
- npm.io page: https://npm.io/package/ts-express-mongoose-crud-gen

## Dependencies (1)

- [express](https://npm.io/package/express.md) ^4.18.2

## Alternatives

- [csv-to-markdown-table](https://npm.io/package/csv-to-markdown-table.md) — 47.0K weekly downloads
- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2023-12-27
- 1.0.0 — 2023-12-27

## README

# TypeScript Express Mongosse Crud Modules Generator

- [Getting Started](#getting-started)

  - [Prerequisites](#prerequisites)
  - [Installation](#installation)

- [Built With](https://www.typescriptlang.org)

## Overview

This Node.js script facilitates the rapid setup of a TypeScript Express project structure tailored for Express.js applications. The script automates the generation of crucial files, including interfaces, models, routes, controllers, and services, enforcing a standardized naming convention.

## Key Features

- **File Generation:** Automatically creates TypeScript files with predefined structures, promoting consistency in project organization.

## Usage

1. **Input Parameters:** Provide the target directory path and a base file name as input parameters.

2. **Execution:** Run the script to generate project files, adhering to the specified naming conventions.

3. **Consistent Project Layout:** Encourages a standardized project structure for TypeScript-based Express.js applications.

## Getting Started

These instructions will guide you on setting up and running the project on your local machine.

### Prerequisites

Ensure you have the following software installed on your machine:

- [Node.js](https://nodejs.org/)
- [Typescript](https://www.typescriptlang.org/)
- [Expressjs](https://expressjs.com/)
- [Mongoosejs](https://mongoosejs.com/)

### Installation

1. Command.

   ```bash
   npm i ts-express-mongoose-crud-gen
   ```

2. Navigate to the project cli.

```bash
   generate-modules ./path fileName
```

And here you go a bowler plate with routing , controller, service , utils , model generated.

### Usage Examples

- Provide examples of how users can use your package to generate modules. Include command examples and explanations.

```dotnetcli
# Example:
generate-modules ./src/modules/user user
```

### Contriubutors

- [Miraj Hossen](https://mirajhossen.vercel.app/)

---
_Source: https://npm.io/package/ts-express-mongoose-crud-gen · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
