You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: General information based on the latest ./README.md content
3
+
globs:
4
+
---
5
+
# Rapid App & Library Development
6
+
7
+
Stacks is a rapid development framework, where the goal is to _help you_ create & maintain frontends, backends, and clouds—without having to worry about the boilerplate. _An all-in-one toolkit that meets all your full stack needs._
8
+
9
+
- Web & Desktop Applications _(including system tray apps)_
10
+
- Serverless & Traditional APIs
11
+
- Cloud Infrastructure Creation & Maintenance
12
+
- Interactive CLIs
13
+
- Framework-agnostic Component & Function Libraries
14
+
- Deployment & Release Manager _(CI & CD)_
15
+
16
+
## Convention Over Configuration
17
+
18
+
As a developer, Stacks helps you every step along the way—in beginner & expert-friendly ways, allowing you to focus on the _what & why_ of your project, all while enabling you to stay in control & ownership of your _(& your users’)_ data.
19
+
20
+
> “It is the framework’s responsibility to remove patterns that lead to boilerplate code. And Stacks is really good at that.” _- Chris_
21
+
22
+
<!--  -->
23
+
24
+
## Get Started
25
+
26
+
It’s incredibly easy to get started with this framework. Simply run the following command in your terminal:
27
+
28
+
```bash
29
+
curl -Ssf stacksjs.org/install | sh # wip
30
+
31
+
# alternatively, if Bun >= v1.2.0 is installed already,
32
+
# you may also get started via:
33
+
bunx buddy new my-project
34
+
```
35
+
36
+
## Usage
37
+
38
+
The following list includes some of the most common ways to interact with the Stacks API.
39
+
40
+
_Meet the toolkit, Buddy:_
41
+
42
+
```bash
43
+
buddy install # installs all dependencies
44
+
buddy dev # starts one of the dev servers (frontend, API, components, docs, desktop, etc.)
45
+
buddy share # creates a sharable link of your local project
46
+
buddy build # follow CLI prompts to select which library (or server) to build
47
+
buddy commit # follow CLI prompts for committing changes
48
+
buddy release # creates the releases for the stack & consequently, publishes them to npm
49
+
buddy upgrade # auto-update all deps & the Stacks framework
50
+
51
+
buddy make:component HelloWorld # scaffolds a Component
52
+
buddy make:function HelloWorld # scaffolds a Function
53
+
buddy make:model Car # scaffolds a Model
54
+
buddy make:action UpdateCar # scaffolds an Action
55
+
buddy make:migration create_cars_table # scaffolds a Migration
56
+
buddy make:view Car # scaffolds a Page (https://my-project.test/car)
57
+
buddy make:command Inspire # scaffolds a Command
58
+
buddy make:job SendEmail # scaffolds a Job
59
+
buddy make:middleware Logger # scaffolds a new Middleware
60
+
buddy make:notification WelcomeEmail # scaffolds a Notification
61
+
buddy make:lang de # scaffolds a language file
62
+
63
+
buddy list # lists all available commands
64
+
buddy --help
65
+
```
66
+
67
+
<details>
68
+
<summary>View the complete Buddy Toolkit</summary>
69
+
70
+
```bash
71
+
buddy --version # get the Stacks version
72
+
buddy --help # view help menu
73
+
# please note: you may suffix any command with the
74
+
# `command --help` flag to review the help menu
75
+
76
+
buddy install # installs dependencies
77
+
buddy add # adds a stack or dependency
78
+
buddy fresh # fresh reinstall of all deps
79
+
buddy clean # removes all deps
80
+
buddy setup # sets up the project initially
81
+
buddy setup:oh-my-zsh # optional: sets up Oh My Zsh with auto-completions & "aliases"
82
+
83
+
buddy upgrade # upgrades all dependencies
84
+
buddy upgrade -i # prompts you to select which updates to apply (wip)
buddy domains:purchase stacksjs.org # purchase a new domain
224
+
225
+
# test your stack
226
+
buddy test # runs test suite (unit & e2e)
227
+
buddy test:coverage # runs test coverage
228
+
buddy test:types # runs typecheck
229
+
230
+
# the CLI may be triggered in any
231
+
# of the following syntax:
232
+
stx fresh
233
+
buddy fresh
234
+
bud fresh
235
+
```
236
+
237
+
</details>
238
+
239
+
Read more here about the Stacks CLI in the documentation.
240
+
241
+
## Features
242
+
243
+
The Stacks framework is a harmony of several “engines” to build any web and/or desktop application, in highly scalable & privacy-friendly ways. It consists of the following engines:
244
+
245
+
### Frontend Development
246
+
247
+
_Develop dynamic UIs with helpers for atomic design, and much more._
248
+
249
+
- 🧩 **Components** _primitive to develop user interfaces_
250
+
- 🤖 **Functions** _primitive to develop business logic (and grant your UI superpowers)_
No matter whether you are a beginner or an expert, the approachable Stacks design allows you to learn at your own pace, using our thorough documentation covering every aspect of the framework. Stacks is extremely beginner & expert-friendly.
325
+
326
+
Develop beautiful, reactive, composable UIs without learning a new set of languages. HTML, CSS, and minimal JavaScript—that’s all you need to dive in now! _Or TypeScript ✌🏼_
327
+
328
+
> _An actual rapid application development framework for all Full Stack needs. Next-level simplicity & DX._
0 commit comments