Rust Web Coursework
This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2024-06-11 19:05:22 -07:00
.cargo split project into fe/be crates 2024-06-11 18:44:33 -07:00
backend improve the readmes 2024-06-11 19:00:36 -07:00
frontend rename joke.rs -> question.rs 2024-06-11 19:05:22 -07:00
.gitignore split project into fe/be crates 2024-06-11 18:44:33 -07:00
Cargo.lock split project into fe/be crates 2024-06-11 18:44:33 -07:00
Cargo.toml split project into fe/be crates 2024-06-11 18:44:33 -07:00
LICENSE.txt add license 2024-05-02 14:50:05 -07:00
README.md improve the readmes 2024-06-11 19:00:36 -07:00

David Westgate

Rust Question and Answer Web app

Background

This is a simple Rust Web Axum server, so far serving a handful of REST API endpoints as the basis of a "Q&A" or question and answer application. The APIs supported offer basic CRUD functionality. Specifically, this example mirrors that which is found in the early chapters of the Rust Web Development textbook by Bastian Gruber (except using Axum and not Warp). A frontend web server using Yew is also provided to utilize the APIs

Setup

Rustup

First install Rust. I suggest using the rustup toolchain

Then run cargo install trunk

Finally, run both the backend and frontend to use the application

Using the backend crate

See backend/README.me

Using the frontend crate

See frontend/README.me