quickrstack v0.0.7
QuickrStack
QuickrStack is an open-source tool that helps you create a backend for your application effortlessly.
🚀 Introduction
QuickrStack is an open-source tool that helps you create a backend for your application effortlessly. By answering a few simple questions, the tool generates the necessary files and project structure, saving time and streamlining the setup process.
🌟 Features
- Interactive Setup: Answer questions to generate backend files.
- Customizable Structure: Easily modify the generated project as needed.
- Framework Support: Works with popular backend frameworks like Express.js(Currently).
- Fast & Lightweight: Simple and efficient codebase for rapid prototyping.
Install as a CLI
- Install the CLI globally using npm:
npm install -g quickrstack
- Run the tool:
quickrstack
Local CLI Setup
- Clone the repository:
git clone https://github.com/kiridharan/quickrstack.git
- Navigate to the project directory:
cd quickrstack
- Install dependencies:
pnpm install
- 3.1 Build the project:
pnpm run build
- Run the tool:
npm link
- Now you can run the tool from anywhere in your terminal using:
quickrstack
- To unlink the tool, run:
npm unlink quickrstack
💻 Commands
The CLI tool comes with several commands to help you manage your projects and generate files.
Sample Commands
create-project
- A sample command to create a new project.- alias :
cp
- alias :
generate-api
- A sample command to generate an APIs.(Beta)
- alias :
ga
- notes : please copy the route to your routes manually
- alias :
generate-model
- A sample command to generate a model.- alias :
gm
- notes : please copy only prisma is suported currently.
- alias :
All commands are located in the src/commands/
folder. This organization makes it easy to find and modify commands or add new ones as needed.
Script Commands - Development
This cli comes with several predefined scripts to help with development:
pnpm build
- Build the project usingtsup
.pnpm build:watch
- Automatically rebuild the project on file changes.pnpm commit
- runcommitizen
tool for helping with commit messages.pnpm commitlint
- lint commit messages.pnpm compile
- Compile TypeScript files usingtsc
.pnpm clean
- Remove compiled code from thedist/
directory.pnpm format
- Check files for code style issues using Prettier.pnpm format:fix
- Automatically fix code formatting issues with Prettier.pnpm lint
- Check code for style issues with ESLint.pnpm lint:fix
- Automatically fix code style issues with ESLint.pnpm start [command]
- Run the CLI application usingts-node
.pnpm start:node [command]
- Run the CLI application from thedist/
directory.pnpm test
- Run unit tests.pnpm test:watch
- Run tests and watch for file changes.pnpm run check-version
- Check the version of the Packages independecy.ts
file.
🛠️ Installation
Prerequisites
- Node.js (v14 or higher)
Steps
- Clone the repository:
git clone https://github.com/kiridharan/quickrstack.git
- Navigate to the project directory:
cd backend-builder
- Install dependencies:
npm install
- Run the tool:
npm start
🔧 Usage
- Run the tool using:
npm start
- Follow the prompts to answer questions about your backend requirements.
- The tool will generate a backend folder with the necessary files and structure.
🖋️ Documentation
🤝 Contributing
Contributions are welcome! If you'd like to contribute, please check out the CONTRIBUTING.md for guidelines.
🛡️ License
This project is licensed under the MIT License.
💌 Contact
Have questions, suggestions, or feedback?
- GitHub: Kiridharan S
- LinkedIn: Kiridharan S
📣 Acknowledgments
- Special thanks to the open-source community for inspiration and support.
Note:
This cli is created using base cli-template. Check it out