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_expressIMPORTANT
❗ 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 -vqse --versionList
Display all available templates, commands and options:
qse listInit
Run the following command in your project directory and answer a series of prompts to create a new Express server:
qse initDirect 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-composeIncludes a
Dockerfileanddocker-compose.ymlfor containerization.Exclude nodemon :
shellqse init -t <template_name> --remove-nodemonSkip dependency installation:
shellqse init -t <template_name> --remove-depsSet 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 clearWARNING
⚠️ This action is irreversible and all files in the cwd will be deleted.