xscaf is a powerful CLI tool designed to streamline the process of creating and managing Express.js applications. With xscaf, you can scaffold a fully structured backend project in seconds, saving you time and eliminating repetitive coding tasks.
- ⚡ Quick Project Initialization: Generate a new Express.js project with customizable options for JavaScript or TypeScript.
- 🗂️ Structured Folder Setup: Create organized folders for routes, controllers, and services.
- 🏗️ Microservices Architecture: Best practices for scalable microservices.
- 📜 Swagger Documentation: Generate Swagger docs for easy API documentation.
- 🔧 Flexible Configuration: Support for CommonJS, ESM, npm, pnpm, and yarn.
- 🗄️ Database and ORM Integration: Initialize projects with MongoDB, PostgreSQL, Prisma, or Drizzle. (not supported yet)
- 🛠️ Additional Tools: Integrated logger library, Docker Compose file, and GitHub Actions workflow.
$ npm install -g xscaf
$ xscaf COMMAND
running command...
$ xscaf --version
xscaf/1.0.0 linux-x64 node-v20.13.1
$ xscaf --help
USAGE
$ xscaf COMMAND
Scaffold a new Express.js project.
USAGE
$ xscaf init PROJECT_NAME
ARGUMENTS
PROJECT_NAME Name of the new project
DESCRIPTION
Generate a new Express.js project with a structured folder setup, optional TypeScript support, and Swagger documentation.
EXAMPLES
$ xscaf init my-app
Manage custom templates for your projects.
USAGE
$ xscaf tmpl <CMD>
COMMANDS
xscaf tmpl add PATH Add a custom template
xscaf tmpl use Use a custom template.
xscaf tmpl ls List all your saved custom templates.
xscaf tmpl rm Remove a custom template from your collection.
EXAMPLES
$ xscaf tmpl add express-starter
$ xscaf tmpl use
$ xscaf tmpl ls
$ xscaf tmpl rm
For more documentation about the commands, run :
$ xscaf <cmd> help
We welcome contributions to xscaf! For guidelines on how to contribute, please see our CONTRIBUTING.md
This project is licensed under the terms of the MIT License. See the LICENSE file for details.
With xscaf, your Express.js project setup is just a command away! 🚀
For more details, visit our GitHub repository. Happy coding! 😊