bertdida / express-generator

⚡ Script for setting up Express app with TS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express Generator (TS)

An all-in-one script for effortlessly creating an Express app with TypeScript, ESlint, Prettier, and Husky pre-configured — uses zx command-line tool.

Usage

  1. Download the express-generator script:
wget -O $HOME/.local/bin/express-generator https://raw.githubusercontent.com/bertdida/express-generator/main/express-generator
  1. Make the script executable:
chmod +x $HOME/.local/bin/express-generator
  1. Add $HOME/.local/bin to your path.

  2. To generate a new Express.js application, navigate to the directory where you want to create the app and run the following command:

express-generator app

About

⚡ Script for setting up Express app with TS.