Kickstart your next Node.js project with goodboy-cli, inspired by create-next-app. This CLI tool generates a minimal, scalable, and production-ready architecture for building backend applications with Node.js, Express, and TypeScript.
- Pre-configured Folder Structure: Organized and modular architecture for scalability and maintainability.
- TypeScript Support: Write clean, type-safe code with TypeScript out of the box.
- Prisma Integration: Seamless database connection and management using Prisma ORM.
- Customizable: Tailor the generated app to your needs with optional configurations.
- Built-in Middleware: Includes CORS, session handling, and error handling setup.
- Development Ready: Pre-configured scripts for development, build, and production environments.
- Best Practices: Follows modern backend development standards.
Create a new project with a single command:
npx goodboy-cli@1.0.0 my-appOr, install globally for frequent use:
npm install -g goodboy-cli
goodboy-cli my-appThis tool saves you time and effort by providing a well-structured foundation for building Node.js and Express applications. It eliminates the hassle of setting up configurations and allows you to focus on writing code and solving problems.
-
Scalable Folder Structure: Pre-configured architecture for maintainability and scalability.
-
TypeScript Support: Built-in TypeScript configuration for type-safe development.
-
Prisma ORM Integration: Simplifies database management with Prisma.
-
Logging Support: Built-in logging system for application events and errors.
-
Express Setup: Ready-to-use Express framework.
-
Pre-configured Middleware: Includes CORS, session handling, and error handling out of the box.
-
Environment Management:
.envsetup for environment-specific variables. -
Production Build: Pre-configured scripts for production-ready builds.
-
Option for JavaScript or TypeScript: Choose between JavaScript or TypeScript during project setup.
-
Database Connection Options: Select your preferred database:
- MongoDB
- PostgreSQL
- MySQL
-
API Style Options: Choose between:
- REST API
- GraphQL
-
Dockerize the App: Generate Dockerfiles for seamless containerization.
Feel free to contribute by adding features, fixing bugs, or sharing ideas. Open an issue or submit a pull request to help make this project even better!
Have ideas or found an issue? Contributions are welcome! Open a PR or create an issue in the GitHub repository.
This project is licensed under the MIT License.
Happy coding! β¨