Getting Started with QSE
Quick Start Express (QSE) is a simple yet powerful CLI tool designed to quickly generate Express servers from multiple templates. It simplifies server setup with customizable configurations including server name, Docker Compose file generation, and more.
Installation
Install the quick_start_express
package globally via npm. Run the following command in the terminal:
npm i -g quick_start_express
IMPORTANT
❗ A global install (with -g
) is required for qse
to function.
Basic Commands
NOTE
📌 Run all basic qse
commands in your project directory.
Version
Check the current installed version of QSE:
qse -v
qse --version
List
Display all available templates, commands and options:
qse list
Init
Run the following command in your project directory and answer a series of prompts to create a new Express server:
qse init
Direct Initialisation with flags
Use flags along with qse init
for direct initialisation of an Express server template:
Specify a server template:
shellqse init -t <template_name>
Add Docker support:
shellqse init -t <template_name> --docker-compose
Includes a
Dockerfile
anddocker-compose.yml
for containerization.Exclude nodemon :
shellqse init -t <template_name> --remove-nodemon
Skip dependency installation:
shellqse init -t <template_name> --remove-deps
Set a custom name for server:
shellqse init -t <template_name> -n <app_name>
Clear
Run the following command to delete all the files in the current working directory
:
qse clear
WARNING
⚠️ This action is irreversible and all files in the cwd
will be deleted.