Skip to content

Commit 3b72e69

Browse files
Revise README for clarity and additional details
Updated README.md to enhance project description, features, installation instructions, and examples.
1 parent c3f24c9 commit 3b72e69

1 file changed

Lines changed: 98 additions & 13 deletions

File tree

‎README.md‎

Lines changed: 98 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,105 @@
1-
# Go Bootstrapper 🐹⚡
2-
> A scaffold CLI project for Golang project enabling creation of new project without worring about installing dependencies, setting up linters
3-
just use CLI tools to generate the pre-configured templates.
1+
# ⚡ Go Bootstrapper
42

5-
---
3+
**Go Bootstrapper** is a CLI tool that scaffolds production-ready Golang projects — no dependency headaches, no manual setup.
4+
Just run a command and get a fully configured project with linters, routers, and structure ready to code.
65

7-
## ✨ Features
8-
- 🏗 **create new golang projects instantly**
9-
- ⚡ **Framework-ready** templates
10-
- 📂 **Standardized structure**: `cmd/`, `internal/`
11-
- 🔮 Designed to be **extensible** (bring your own templates)
6+
* * *
7+
## 📦 Installation
128

13-
---
9+
Install globally using `go install`:
1410

15-
## 📦 Installation
11+
`go install github.com/upsaurav12/bootstrap@latest`
12+
13+
Once installed, confirm the installation:
14+
15+
`bootstrap --help`
16+
17+
* * *
18+
19+
## Quick Start 💨
20+
21+
Create a REST API project using **Gin**:
22+
23+
```
24+
bootstrap new myapp --type=rest --router=gin --port=8080
25+
```
26+
27+
Create a project with **PostgreSQL** integration:
28+
29+
```
30+
bootstrap new myapp --type=rest --router=gin --db=postgres
31+
```
32+
33+
* * *
34+
35+
## 📁 Example Project Structure
36+
37+
```
38+
📦 myapp/
39+
├── Makefile
40+
├── README.md
41+
├── cmd/
42+
│ └── main.go
43+
├── internal/
44+
│ ├── config/
45+
│ │ └── config.go
46+
│ ├── handler/
47+
│ │ └── user_handler.go
48+
│ ├── router/
49+
│ │ └── routes.go
50+
│ └── db/ ← created only if --db flag is passed
51+
│ └── db.go
52+
└── go.mod
53+
54+
```
55+
56+
* * *
57+
58+
## ⚙️ CLI Options
59+
60+
| Flag | Description | Example |
61+
| --- | --- | --- |
62+
| --type | Type of project (rest, grpc, etc.) | --type=rest |
63+
| --router | Router framework (gin, chi, echo) | --router=gin |
64+
| --port | Application port | --port=8080 |
65+
| --db | Database integration | --db=postgres |
66+
67+
* * *
68+
69+
## 💡 Why Go Bootstrapper?
70+
71+
Developers often waste time repeating setup tasks — creating folders, configuring routers, writing Makefiles, adding linters, etc.
72+
73+
**Go Bootstrapper** automates all that.
74+
You focus on business logic — it handles the rest.
75+
76+
It’s like:
77+
78+
> `create-react-app`, but for Golang �
79+
80+
* * *
81+
82+
## 🛣️ Roadmap
83+
84+
* Add `--with-auth` flag for JWT + middleware setup
85+
* `add` command to make CLI tool more extensible to generate ``service``, ``handlers``, ``controllers``.
86+
* Commands like ``build``, ``test``, ``dev``, ``fmt`` to make it more developer friendly, ensuring production ready code.
87+
* ``init`` that will be used for letting users to choose their configurations via ``TUI``.
88+
89+
90+
* * *
91+
92+
## 🤝 Contributing
93+
94+
Contributions, feedback, and ideas are welcome!
95+
Feel free to open an issue or PR on [GitHub](https://github.com/upsaurav12/bootstrap).
96+
97+
Consider star the project 🙏
98+
99+
* * *
16100

17-
```bash
18-
go install github.com/upsaurav12/bootstrap@latest
101+
## 📄 License
19102

103+
Licensed under the **MIT License** © 2025 [Saurav Upadhyay](https://github.com/upsaurav12)
20104

105+
* * *

0 commit comments

Comments
 (0)