Back to Vercel

Axum Starter

examples/axum/README.md

16.1.21.4 KB
Original Source

Axum Starter

Deploy your Axum project to Vercel with zero configuration.

Live Example: https://vercel-plus-rust.vercel.app/

Visit the Axum documentation to learn more.

Getting Started

Make sure you have Rust installed. If not, install it from rustup.rs.

Build the project:

bash
cargo build

Running Locally

Start the development server on http://localhost:3000

bash
cargo run

When you make changes to your project, restart the server to see your changes.

Deploying to Vercel

Deploy your project to Vercel with the following command:

bash
npm install -g vercel
vercel --prod

Or git push to your repository with our git integration.

To view the source code for this template, visit the example repository.