Create Rust App

License: MIT OR Apache-2.0

Set up a modern rust+react web app by running one command.

create-rust-app.dev

Requirements

Install

sh cargo install create-rust-app_cli

Quick start

```sh create-rust-app my-todo-app

.. select backend framework, plugins, etc.

```

```sh

Code-gen resources for your project

cd ./my-todo-app create-rust-app

.. select resource type / properties

```

Features

1. Project creation

$ create-rust-app <project_name>

Available Plugins

2. Code-gen to reduce boilerplate

$ cd my_project && create-rust-app - CRUD code-gen to reduce boilerplate - Scaffolds the db model, endpoints service file, and hooks it up in your /api! - react-query hooks generation for frontend - Generates a hook for each handler function defined in the services/ folder - Edit generated hooks afterwards -- they won't be regenerated unless you delete (or rename) the hook!

Walkthrough

Gif

Contributing

If you're experiencing slow compilation time, make sure there isn't any bloat in the template files (look for node_modules or typescript / parcel caches and delete them).