create-bkite
v0.0.7
Published
CLI to scaffold a clean Express REST API backend with modern structure
Maintainers
Readme
bkite is a command-line tool that instantly scaffolds a clean, production-ready Express.js backend. Stop wasting time on boilerplate and configuration. With one command, you get a scalable project structure so you can start coding immediately.
✨ Features
- 🪁 Interactive CLI: Beautiful prompts guide you through language, database, and ORM selection.
- 🎯 Multiple Templates: Choose from JavaScript/TypeScript with various database and ORM combinations.
- 📁 Scalable Structure: A modular, production-ready folder structure from the start.
- 🔄 Core Functionality Included: Comes with built-in error handling, CORS support, and environment variable setup.
- ⚡ Blazing Fast: Go from zero to a running server in seconds.
- 🔌 Easy to Customize: The clean boilerplate is easy to modify and extend.
🚀 Usage
To create a new bkite project, run the following command in your terminal:
npm create bkite@latestThen the CLI will guide you through:
- 📝 Project Name: Enter your project name (with validation)
- 💻 Language Selection: Choose JavaScript or TypeScript
- 🗄️ Database Selection: Pick PostgreSQL, MySQL, MongoDB, or none
- 🔧 ORM/ODM Selection: Select Prisma, Drizzle, Mongoose
Once the template is generated:
Navigate to your project directory:
cd your-backend-appInstall dependencies:
npm installStart the development server:
npm run dev
Your new Express.js server will be running at http://localhost:3000.
⚙️ Additional Commands
Create in a specific folder:
# Creates the project inside a new folder named 'my-app' npm create bkite@latest my-appCreate in the current directory:
# Scaffolds the project in the current working directory npm create bkite@latest .
📁 Generated Project Structure
You get a clean, organized, and scalable project structure right out of the box.
my-backend-app/
├── src/
│ ├── configs/
│ ├── controllers/
│ ├── middlewares/
│ ├── models/
│ ├── routes/
│ ├── utils/
│ ├── app.js
│ └── index.js
├── .env
├── .gitignore
├── package.json
└── README.md💬 Community & Contributions
We welcome all contributions, big or small! Even a tiny contribution can make a difference.
To get started:
- Visit our GitHub repository to understand our codebase: https://github.com/sreegopalsaha/bkite
- Make an issue on GitHub to discuss your ideas with other contributors and admins: https://github.com/sreegopalsaha/bkite/issues
You can also join our Discord server to ask questions or collaborate with other contributors and admins: Discord
🔗 Connect with the Creator
- GitHub: @sreegopalsaha
- LinkedIn: Sree Gopal Saha
- Twitter / X: @sreegopalsaha
