turbogen

2.0.2ย โ€ขย Publicย โ€ขย Published

๐ŸŒ€ TurboGen CLI ๐ŸŒ€

 |_   _|   _ _ __| |__   ___  / ___| ___ _ __  
   | || | | | '__| '_ \ / _ \| |  _ / _ \ '_ \ 
   | || |_| | |  | |_) | (_) | |_| |  __/ | | |
   |_| \__,_|_|  |_.__/ \___/ \____|\___|_| |_|

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                              โ”‚
โ”‚ Welcome to TurboGen CLI! ๐Ÿš€                  โ”‚
โ”‚ Generate Microservices Templates Effortlesslyโ”‚
โ”‚ Use --help for available commands            โ”‚
โ”‚                                              โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

โœจ TurboGen CLI is your ultimate toolkit for kickstarting scalable microservices architecture. With pre-built templates and cutting-edge features, you can focus on what matters: building great software!


This is a generated microservices template using the `turbogen`

This is a generated microservices template using the `turbogen` CLI tool. It provides a structured and production-ready foundation for building scalable microservices.

## Features
- **Preconfigured Docker support** for containerization.
- **Kubernetes manifests** for deployment.
- **Environment variable management** with `.env`.
- **Integrated logging** (Winston for Node.js, logrus for Go).
- **Scalable architecture** with templates for REST APIs.

## Getting Started

### Prerequisites
- Docker installed on your system.
- Kubernetes cluster set up (optional).
- Node.js v16+ or Go installed (depending on the microservice language).

### Commands
1. Initialize a new microservices project:
   ```bash
   turbogen init

This creates basic project files like .gitignore and README.md.

  1. Generate a microservices template:
    turbogen generate -l <language>
    Replace <language> with either nodejs or go.

Running Locally

Node.js

  1. Navigate to the nodejs folder.
  2. Install dependencies:
    npm install
  3. Run the application:
    npm start

Go

  1. Navigate to the go folder.
  2. Run the application:
    go run main.go

Deployment

Docker

Build and run the microservice using Docker:

docker build -t microservice .

docker run -p 8080:8080 microservice

Package Sidebar

Install

npm i turbogen

Weekly Downloads

20

Version

2.0.2

License

MIT

Unpacked Size

15.3 kB

Total Files

20

Last publish

Collaborators

  • carryonprogrammer