An open API service indexing awesome lists of open source software.

https://github.com/atiilla/express-blueprint

This tool generates a basic Express project structure, including DB connection, routes, controllers, and more.
https://github.com/atiilla/express-blueprint

Last synced: 6 months ago
JSON representation

This tool generates a basic Express project structure, including DB connection, routes, controllers, and more.

Awesome Lists containing this project

README

          

# Express.js Boilerplate Generator
## Express Project Generator Tool

![Version](https://img.shields.io/badge/version-0.1-blue.svg)
![License](https://img.shields.io/badge/license-ISC-blue.svg)

This tool generates a basic Express project structure, including DB connection, routes, controllers, and more.

![lazy developer](https://raw.githubusercontent.com/atiilla/express-blueprint/main/logo.jpg)

## Features

- Initializes an npm project
- Creates project well-structured folder structure
- Configures MongoDB/MySQL connection
- Generates sample route, controller, model, views and public folders
- Authentication with JWT
- Helmet
- CORS
- Error handling
- Rate limiting
- View engine (EJS)
- Morgan logger
- Dockerfile and docker-compose.yml

## What's Next
- [ ] Add more DB options

## Usage

1. Make sure you have [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed.

2. Install the package globally:

```
npm install -g exprez
```

3. Run the command in your workspace folder in the terminal:
```
exprez
```

4. Answer the questions and you're good to go!