Skip to main content

BarongTS

About BarongTS

Kickstart your TypeScript projects in seconds with an easy CLI.

BarongTS is an easy-to-use CLI tool that helps you create TypeScript projects quickly. It automatically sets up everything you need, including popular frameworks like React, Vue, Svelte, or Node.js, so you can focus on coding without worrying about installation or configuration. Perfect for beginners and developers who want to save time.


How to Setup Project

Make sure you have Node.js installed (recommended v18+).

npx @barong/barong-ts

Usage

Follow the interactive prompts to choose your preferred stack (React, Vue, Svelte, Node.js, etc.). BarongTS will automatically install dependencies and scaffold your project structure.

$ npx @barong/barong-ts
____ __
| __ ) | |_ ___
| _ \ | __/ __|
| |_) | _| |_\__ \
|____/ (_)\__|___/
Welcome to BarongTS
√ Project name: my-barong-app
📁 Project: my-barong-app
√ Select project type: Backend TS
? Select backend stack:
> Node.js + TS (Recommended)
NestJS + TS
Fastify + TS
Node.js + TS + MongoDB
Minimal Backend
⬅ Back
express prisma typescript jest
↑↓ navigate • ⏎ select

You can choose what type of project you want, simply using the arrow buttons to select and enter to choose it.


Features

  • Quick setup for TypeScript projects
  • Supports multiple frontend and backend stacks (React, Vue, Svelte, Node.js)
  • Automatic dependency installation
  • Scaffolds project files and folders
  • Easy-to-use CLI, beginner-friendly

Philosophy

BarongTS is built to save developers time and reduce friction. We believe setting up a project should be fast, consistent, and fun, so you can focus on building features, not boilerplate.


Contribution

Contributions are welcome!

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature-name)
  3. Commit your changes (git commit -m "Add new feature")
  4. Push to the branch (git push origin feature-name)
  5. Open a Pull Request

Please follow standard TypeScript and coding conventions.


Example Project Structure

After running barong init my-project, your project will look like:

my-barong-app/
├─ src/
├─ package.json
├─ tsconfig.json
└─ README.md