Skip to content

Commit

Permalink
Merge branch 'main' into feature-powerset-log-group
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski authored Oct 20, 2024
2 parents 302c370 + d7b4d54 commit 9d1b849
Show file tree
Hide file tree
Showing 25 changed files with 196 additions and 60 deletions.
22 changes: 21 additions & 1 deletion book/src/adding-a-ui/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
# Adding a UI
# Adding a UI

Currently, Roadster is focused on back-end API development with Rust. We leave it to the consumer to decide how they
prefer to add a front-end, e.g., using an established JS/TS
framework ([React](https://react.dev/) / [Next](https://nextjs.org/) / [Vue](https://vuejs.org/) / [Svelte](https://svelte.dev/) / [Solid](https://www.solidjs.com/)
/ etc) or
using a Rust front-end
framework ([Leptos](https://github.com/leptos-rs/leptos) / [Yew](https://github.com/yewstack/yew) / [Perseus](https://github.com/framesurge/perseus/) / [Sycamore](https://github.com/sycamore-rs/sycamore)
/ etc). That said, we do have some examples of how to use Roadster with some these frameworks.

## Examples

| Framework | Example |
|:------------------------------------------|:------------------------------------------------------------------------------------|
| [Leptos](https://crates.io/crates/leptos) | [leptos-ssr](https://github.com/roadster-rs/roadster/tree/main/examples/leptos-ssr) |

<style>
table {
min-width: 100%
}
</style>
126 changes: 69 additions & 57 deletions book/src/comparisons/loco.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions book/src/features/app-context.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# App context

See:

- <https://docs.rs/roadster/latest/roadster/app/context/struct.AppContext.html>
4 changes: 4 additions & 0 deletions book/src/features/auth/jwt.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# JWT

See:

- <https://docs.rs/roadster/latest/roadster/middleware/http/auth/jwt/index.html>
5 changes: 3 additions & 2 deletions book/src/features/cli.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# CLI

## Built-in commands
See:

## Custom commands
- <https://docs.rs/roadster/latest/roadster/api/cli/trait.RunCommand.html>
- <https://docs.rs/roadster/latest/roadster/api/cli/roadster/index.html>
5 changes: 5 additions & 0 deletions book/src/features/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
<!--Todo: Mention Environment::Custom variant-->
<!--Todo: Mention multiple file formats-->
<!--Todo: Mention overriding via env vars-->

See:

- <https://docs.rs/roadster/latest/roadster/config/index.html>
- <https://docs.rs/roadster/latest/roadster/config/struct.AppConfig.html>
7 changes: 7 additions & 0 deletions book/src/features/database/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
# Database

See:

- <https://docs.rs/roadster/latest/roadster/migration/index.html>
- <https://docs.rs/roadster/latest/roadster/migration/check/index.html>
- <https://docs.rs/roadster/latest/roadster/migration/schema/index.html>
- <https://docs.rs/roadster/latest/roadster/migration/uuid/index.html>
4 changes: 4 additions & 0 deletions book/src/features/database/user.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# User SQL migrations

See:

- <https://docs.rs/roadster/latest/roadster/migration/user/struct.UserMigrator.html>
4 changes: 4 additions & 0 deletions book/src/features/database/utility-migrations.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Utility SQL migrations

See:

- <https://docs.rs/roadster/latest/roadster/migration/timestamp/index.html>
4 changes: 4 additions & 0 deletions book/src/features/email/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Email

See:

- <https://docs.rs/roadster/latest/roadster/config/email/index.html>
4 changes: 4 additions & 0 deletions book/src/features/email/sendgrid.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Sendgrid

See:

- <https://docs.rs/roadster/latest/roadster/config/email/sendgrid/struct.Sendgrid.html>
4 changes: 4 additions & 0 deletions book/src/features/email/smtp.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# SMTP

See:

- <https://docs.rs/roadster/latest/roadster/config/email/smtp/index.html>
5 changes: 5 additions & 0 deletions book/src/features/health.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# Health checks

See:

- <https://docs.rs/roadster/latest/roadster/health_check/trait.HealthCheck.html>
- <https://docs.rs/roadster/latest/roadster/config/health_check/struct.HealthCheck.html>
5 changes: 5 additions & 0 deletions book/src/features/lifecycle.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# Lifecycle hooks

See:

- <https://docs.rs/roadster/latest/roadster/lifecycle/trait.AppLifecycleHandler.html>

4 changes: 4 additions & 0 deletions book/src/features/services/function.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Function service

See:

- <https://docs.rs/roadster/latest/roadster/service/function/service/struct.FunctionService.html>
4 changes: 4 additions & 0 deletions book/src/features/services/grpc.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Grpc service with [Tonic](https://crates.io/crates/tonic)

See:

- <https://docs.rs/roadster/latest/roadster/service/grpc/service/struct.GrpcService.html>
4 changes: 4 additions & 0 deletions book/src/features/services/http/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# HTTP Service with [Axum](https://crates.io/crates/axum)

See:

- <https://docs.rs/roadster/latest/roadster/service/http/index.html>
5 changes: 5 additions & 0 deletions book/src/features/services/http/initializer.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# Initializers

See:

- <https://docs.rs/roadster/latest/roadster/service/http/initializer/index.html>

4 changes: 4 additions & 0 deletions book/src/features/services/http/middleware.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Axum Middleware

See:

- <https://docs.rs/roadster/latest/roadster/service/http/middleware/index.html>
6 changes: 6 additions & 0 deletions book/src/features/services/http/state.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# Axum State

See:

- <https://docs.rs/roadster/latest/roadster/app/context/struct.AppContext.html>
- <https://docs.rs/axum/latest/axum/extract/struct.State.html>
- <https://docs.rs/axum/latest/axum/extract/trait.FromRef.html>
4 changes: 4 additions & 0 deletions book/src/features/services/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Services

See:

- <https://docs.rs/roadster/latest/roadster/service/index.html>
4 changes: 4 additions & 0 deletions book/src/features/testing.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Testing

See:

- <https://docs.rs/roadster/latest/roadster/testing/snapshot/index.html>
5 changes: 5 additions & 0 deletions book/src/features/tracing/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# Tracing with Tokio's [tracing](https://crates.io/crates/tracing) crate

See:

- <https://docs.rs/roadster/latest/roadster/tracing/fn.init_tracing.html>
- <https://docs.rs/roadster/latest/roadster/config/tracing/struct.Tracing.html>
5 changes: 5 additions & 0 deletions book/src/features/tracing/otel.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# OpenTelemetry

See:

- <>
- <https://docs.rs/tracing-opentelemetry/0.22.0/tracing_opentelemetry/>
8 changes: 8 additions & 0 deletions book/src/getting-started/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# Getting started

See our examples:

- [Full](https://github.com/roadster-rs/roadster/tree/main/examples/full) - Demo of all features
- [App builder](https://github.com/roadster-rs/roadster/tree/main/examples/app-builder) - Demo of the builder-style API
to configure the app
- [Leptos SSR](https://github.com/roadster-rs/roadster/tree/main/examples/leptos-ssr) - Demo of using Leptos with
Roadster

0 comments on commit 9d1b849

Please sign in to comment.