Rust Web Starter

screenshot of Rust Web Starter

Rust (Rocket & Diesel) + React (w/ Typescript) + PostgreSQL starter pack. Currently serves my need for a nice Dev Environment.

Overview

The Rust Web Starter is a pre-configured starter template for web applications. It uses React with Typescript on the frontend and Rust with Rocket, Diesel, and PostgreSQL on the backend. It provides a quick setup for developers to start building web apps using this tech stack.

Features

  • Pre-configured template for web apps using React and Rust.
  • Uses create-react-app with Typescript for the frontend.
  • Uses Rocket, Diesel, and PostgreSQL for the backend.
  • Docker and Docker-Compose integration for easy setup and deployment.
  • Automatic reloading of changes in the /web folder for frontend edits.
  • Automatic restart of the API server for backend edits.
  • API layer accessible at localhost:3000/api, avoiding cross-origin request issues.

Summary

The Rust Web Starter is a pre-configured template for web applications that combines React on the frontend and Rust on the backend. It provides an easy setup using Docker and Docker-Compose, allowing developers to quickly start building web apps with this tech stack. The automatic reloading and restart features make it convenient to make and test edits in the frontend and backend code. Troubleshooting tips and additional commands are provided in the documentation to help developers with any issues they may encounter. Overall, the Rust Web Starter is a useful resource for developers looking to build web apps using React and Rust.