Skip to content

πŸš€ A CLI tool to bootstrap scalable Node.js and Express applications with minimal, production-ready architecture and TypeScript support. Inspired by create-next-app

License

Notifications You must be signed in to change notification settings

samirpokharel/goodboy-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

goodboy-cli - Scalable Node.js Express Application Boilerplate πŸš€

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.

Features ✨

  • 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.

Quick Start πŸƒβ€β™‚οΈ

Create a new project with a single command:

npx goodboy-cli@1.0.0 my-app

Or, install globally for frequent use:

npm install -g goodboy-cli
goodboy-cli my-app

Why Use goodboy cli? πŸ€”

This 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.

Features Checklist βœ…

  • 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: .env setup 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.

Contributions Welcome ❀️

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!

Contribute ❀️

Have ideas or found an issue? Contributions are welcome! Open a PR or create an issue in the GitHub repository.

License πŸ“œ

This project is licensed under the MIT License.

Happy coding! ✨

About

πŸš€ A CLI tool to bootstrap scalable Node.js and Express applications with minimal, production-ready architecture and TypeScript support. Inspired by create-next-app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published