Rust starter

A simple web-server written in Rust using axum

Deploy Rust starter

server

railwayapp-templates/rust-starter

Just deployed

This template provides a simple web-server, featuring the key concepts of axum and tokio.

This template has lots of comments to walk you through how everything works, and how it can be modified.

This template uses axums Router, to create an app router, to which routes are added. A server is then initialised, which starts listening for requests. These route functions talk about the different way a route function can work, ie, some returning strings, and some providing much more complex responses.


Template Content

More templates in this category

View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

View Template
peppermint
Docker-compose port for peppermint.sh