|
1 | 1 | # Req - Test APIs with Terminal Velocity |
2 | 2 |
|
3 | | -> **Note**: This page is not up to date and serves as a boilerplate for the blog setup. |
4 | | -
|
5 | 3 | A terminal-based API client built for the [Boot.dev Hackathon 2025](https://blog.boot.dev/news/hackathon-2025/). |
6 | 4 |
|
7 | 5 | ## Features |
8 | 6 |
|
9 | | -- Terminal user interface |
10 | | -- Request collections |
11 | | -- Environment variables |
12 | | -- Request history |
| 7 | +- Terminal user interface with beautiful TUI |
| 8 | +- Request collections and organization |
| 9 | +- Demo data generation with realistic APIs |
| 10 | +- Request builder with tabs for body, headers, query params |
| 11 | +- Production-ready logging system |
13 | 12 |
|
14 | 13 | ## Tech Stack |
15 | 14 |
|
16 | 15 | The project uses: |
17 | 16 |
|
18 | | -1. **Go** for core logic |
19 | | -2. **Bubble Tea** for TUI |
20 | | -3. **SQLite** for storage |
21 | | - |
22 | | -### Code Example |
23 | | - |
24 | | -```go |
25 | | -func main() { |
26 | | - fmt.Println("Hello, req!") |
27 | | -} |
28 | | -``` |
| 17 | +1. **Go** for core logic and HTTP operations |
| 18 | +2. **Bubble Tea** for terminal user interface |
| 19 | +3. **SQLite** for file-based storage |
| 20 | +4. **SQLC** for type-safe database operations |
| 21 | +5. **Goose** for database migrations |
29 | 22 |
|
30 | 23 | ## Installation |
31 | 24 |
|
32 | 25 | ```bash |
33 | | -go build -o req . |
34 | | -./req |
| 26 | +go install github.com/maniac-en/req@v0.1.0 |
| 27 | +req |
35 | 28 | ``` |
36 | 29 |
|
37 | | -### Commands |
| 30 | +## What's Implemented |
38 | 31 |
|
39 | | -- `req --help` - Show help |
40 | | -- `req --verbose` - Verbose output |
| 32 | +- Collections CRUD operations (create, edit, delete, navigate) |
| 33 | +- Request builder interface with tabbed editing |
| 34 | +- Endpoint browsing with sidebar navigation |
| 35 | +- Demo data generation (JSONPlaceholder, ReqRes, HTTPBin APIs) |
| 36 | +- Beautiful warm color scheme with vim-like navigation |
| 37 | +- Pagination and real-time search filtering |
41 | 38 |
|
42 | | -## Lists Test |
| 39 | +## Coming Soon |
43 | 40 |
|
44 | | -**Unordered list:** |
45 | | -- Item one |
46 | | -- Item two |
47 | | -- Item three |
| 41 | +- HTTP request execution (core feature) |
| 42 | +- Response viewer with syntax highlighting |
| 43 | +- Endpoint management (add/edit endpoints) |
| 44 | +- Environment variables support |
| 45 | +- Export/import functionality |
48 | 46 |
|
49 | | -**Ordered list:** |
50 | | -1. First step |
51 | | -2. Second step |
52 | | -3. Third step |
| 47 | +## Try It Out |
53 | 48 |
|
54 | | -## Text Formatting |
| 49 | +**GitHub**: https://github.com/maniac-en/req |
| 50 | +**Installation**: `go install github.com/maniac-en/req@v0.1.0` |
| 51 | +**Usage**: Just run `req` in your terminal! |
55 | 52 |
|
56 | | -This has **bold text**, _italic text_, and `inline code`. |
| 53 | +The app works completely offline with no external dependencies required. |
57 | 54 |
|
58 | 55 | --- |
59 | 56 |
|
60 | | -This blog is built with ❤️ using [pyssg](https://github.com/maniac-en/pyssg) - A guided learning project at [boot.dev](https://www.boot.dev/courses/build-static-site-generator) |
| 57 | +This blog is built with ❤️ using [pyssg](https://github.com/maniac-en/pyssg) - A guided learning project at [boot.dev](https://www.boot.dev/courses/build-static-site-generator) |
0 commit comments