Some checks failed
CI/CD Pipeline / Test Suite (push) Has been cancelled
CI/CD Pipeline / Security Audit (push) Has been cancelled
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Performance Benchmarks (push) Has been cancelled
CI/CD Pipeline / Cleanup (push) Has been cancelled
1.2 KiB
1.2 KiB
title, slug, date, author, category, tags, excerpt
| title | slug | date | author | category | tags | excerpt | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| Getting Started with Rustelo | getting-started-with-rustelo | 2024-01-15 | Rustelo Team | tutorials |
|
Learn how to create your first web application with Rustelo framework |
Getting Started with Rustelo
Welcome to Rustelo! This guide will help you create your first web application using our modern Rust web framework.
Prerequisites
Before you begin, make sure you have the following installed:
- Rust (latest stable version)
- cargo-leptos
- Node.js (for asset building)
Installation
# Clone the Rustelo template
git clone https://github.com/rustelo/rustelo-template my-app
cd my-app
# Install dependencies
cargo build
npm install
Creating Your First App
- Project Structure
my-app/
├── crates/
│ ├── client/ # Frontend code
│ ├── server/ # Backend code
│ ├── shared/ # Shared types
│ └── ssr/ # SSR components
- Running the Development Server
just dev
Your app will be available at http://localhost:3000
Next Steps
- Explore the documentation
- Check out example projects
- Join our community
Happy coding with Rustelo!