-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create overview and getting started pages
- Loading branch information
1 parent
b2940d9
commit 3ca24ec
Showing
11 changed files
with
103 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
apps/documentation/src/components/mdx-provider/mdx-bold/mdx-bold.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { Text, type TextProps } from '@mantine/core' | ||
|
||
export default function MdxBold(props: TextProps): JSX.Element { | ||
return <Text fw={700} {...props} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
apps/documentation/src/routes/documentation/getting-started.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Head } from 'tuono' | ||
|
||
<Head> | ||
<title>Tuono - Getting started</title> | ||
</Head> | ||
|
||
import Breadcrumbs, { Element } from '../../components/breadcrumbs' | ||
|
||
<Breadcrumbs> | ||
<Element label="Getting started"/> | ||
</Breadcrumbs> | ||
|
||
# Getting started | ||
|
||
|
||
Tuono is the CLI that provides all the needed commands to handle the fullstack project. | ||
|
||
> ☝️ Check the [installation](/documentation/installation) page if you haven't installed the | ||
`tuono` CLI yet. | ||
|
||
To list all the available commands run `tuono -h`. | ||
|
||
To create a new project run `tuono new [NAME]` (optionally you can pass the --template (or -t) flag - check the examples folder). | ||
|
||
Then to run the local development environment run inside the project folder `tuono dev` | ||
|
||
Finally when the project will be ready to be deployed just run `tuono build` to create the final React assets and to set the server project in the production mode. | ||
|
||
Now to execute it just run `cargo run --release`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { Head } from 'tuono' | ||
|
||
<Head> | ||
<title>Tuono - Documentation</title> | ||
</Head> | ||
|
||
import Breadcrumbs from '../../components/breadcrumbs' | ||
|
||
<Breadcrumbs> | ||
</Breadcrumbs> | ||
|
||
# Tuono | ||
|
||
**Tuono is a fullstack framework for building React applications using Rust as | ||
backend.** | ||
|
||
Tuono (Italian word for "thunder", pronounced /2 Oh No/). Why Tuono? Just a badass name. | ||
|
||
## Introduction | ||
|
||
**NodeJs/Deno/Bun are the only runtimes that allow a React app to be fullstack right? (no)** | ||
|
||
Tuono is a fullstack React framework with the server side written in Rust. | ||
Because of this Tuono is extremely fast and the requests are handled by multithreaded Rust server. | ||
React is still React - it is just superpowered. | ||
|
||
**Rust is an hard language then writing server side code is hard as well right? (no again)** | ||
|
||
Tuono provides a collection of utilities to handle the server side code seamlessly with | ||
the React code. Each server side route is managed with a separate file alongside the React route. | ||
The routing is handled by Tuono based on the files defined within the `./src/routes` directory. | ||
|
||
|
||
## Features | ||
Some of its features include: | ||
|
||
- 🟦 Full typescript support | ||
- 🌐 File system based routing | ||
- 🔥 Hot Module Reload | ||
- 🍭 SCSS/CSS modules | ||
- 🧬 Server Side Rendering | ||
- 🧵 Multi thread backend | ||
- ⌨️ MDX support | ||
- ⚙️ Build optimizations | ||
- Custom APIs* | ||
- Image optimization* | ||
- Server streamed content* | ||
|
||
> *development in progress | ||