Initial Commit · Brave-Python/full-stack-python@b54002d · GitHub
Skip to content

Commit b54002d

Browse files
Initial Commit
0 parents  commit b54002d

6 files changed

Lines changed: 50 additions & 0 deletions

File tree

‎.gitignore‎

Lines changed: 5 additions & 0 deletions

‎assets/favicon.ico‎

4.19 KB
Binary file not shown.

‎full_stack_python/__init__.py‎

Whitespace-only changes.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
"""Welcome to Reflex! This file outlines the steps to create a basic app."""
2+
3+
import reflex as rx
4+
5+
from rxconfig import config
6+
7+
8+
class State(rx.State):
9+
"""The app state."""
10+
11+
...
12+
13+
14+
def index() -> rx.Component:
15+
# Welcome Page (Index)
16+
return rx.container(
17+
rx.color_mode.button(position="bottom-left"),
18+
rx.vstack(
19+
rx.heading("Welcome to Reflex!", size="9"),
20+
rx.text(
21+
"Get started by editing ",
22+
rx.code(f"{config.app_name}/{config.app_name}.py"),
23+
size="5",
24+
),
25+
rx.link(
26+
rx.button("Check out our docs!"),
27+
href="https://reflex.dev/docs/getting-started/introduction/",
28+
is_external=True,
29+
),
30+
spacing="5",
31+
justify="center",
32+
min_height="85vh",
33+
),
34+
rx.logo(),
35+
)
36+
37+
38+
app = rx.App()
39+
app.add_page(index)

‎requirements.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
reflex==0.5.3

‎rxconfig.py‎

Lines changed: 5 additions & 0 deletions

0 commit comments

Comments
 (0)