Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/louire/todo-rustsvelte

Simple TODO with rust backend and sveltekit frontend
https://github.com/louire/todo-rustsvelte

Last synced: about 2 months ago
JSON representation

Simple TODO with rust backend and sveltekit frontend

Awesome Lists containing this project

README

        

# TODO RUST🦀SVELTE

The web application being developed uses the Rust and SvelteKit stack.



![Rust](https://img.shields.io/badge/rust-%23000000.svg?style=for-the-badge&logo=rust&logoColor=white)
![Svelte](https://img.shields.io/badge/svelte-%23f1413d.svg?style=for-the-badge&logo=svelte&logoColor=white)
![SQLite](https://img.shields.io/badge/sqlite-%2307405e.svg?style=for-the-badge&logo=sqlite&logoColor=white)
![Tokio](https://img.shields.io/badge/Tokio-FFFFFF?style=for-the-badge&logo=data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/wAALCAAyADgBAREA/8QAGQAAAwEBAQAAAAAAAAAAAAAABgcIAAUJ/8QANBAAAAUDAgQFAgUEAwAAAAAAAQIDBAUGBxEAEggTFSEUFhciMQkYJDJBQlEZIygzJUNi/9oACAEBAAA/APVPS44hrXy14bQVBQ1OVQ/p2dcJEdQ8mzdHQM2kEDlVbmOJByZPmEKBijkBKI9sgAhx+Fm9y99LUtp2fY9LrGCcqwFXRJgAp4+ZbDscEEv7SmHChQ7+04BnIDoh9SKm9b/Sr0rn+g+X+s+cfb07xPO5fgvj/Zt935t2P2492hvipvc6sdapeVppkEnWtROkqeo+KKAGO+mHI7EC7R+Sk7qGzgNpBDICIa73D7bCTs7aGnaCnqnf1FMskDLSso9cqLndPljmVcHKJxESp8w5wIXtgoB+uRFia2gyLvFbeaunNWUjKmSXrSno9GVkosEFQMg1V27D8wS8s2d5MgUwiG8uQDOp9u3/AIrcSsVxDM/w1u7qKNaXuAQOyMf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iB8gcUFDHOUg5EUzmMbsIBptUxw+Dbu4VNSdq6wGj7dQbCQRdUDHRqYMX7x0qdUXQqibcQSmP2KBRAAIUpRKXcUXDraAr63hpywtqahunUwCq3hWwmQaEHCj10cQIg2T/k6ihiFDsOMiI9gHQLwg2eqK29Av61uYJV7mXKfDU1XuBDuk4VD+yyL87U2yQgmUoCIAbfjsOiHotf8A3O+ZPTOkPKXk3p/m/mf854nxfM8BjOfDf9m3bjd33Z9uuHxdWZnrq25bVBbtUrS5Fv3xKmo158D45HuZqYe2U3BAFIxRHaIiQTZAui7h/vNBX+tLAXQgkjNupoCR+xUzzY98mOxw2UAcCBk1CmL3AMhtN8CGmJraCrrU5T1SQ8KlUUDHShGNSRD1qV61IuCDgjtMCqkA4DtOAGMAGDAhuHv30a62toTt1TdO05HzAU9Ax0WElPyT94DJqmh4l0dwYDrKbADeoYClATjkR2hke2izX//Z)



Tokio is a Rust library designed for building scalable and high-performance network applications. Tokio employs an asynchronous programming model to efficiently handle multiple network connections simultaneously, making it an ideal choice for web applications that need to manage numerous requests efficiently.

On the other hand, SvelteKit is a JavaScript framework for building web applications. SvelteKit leverages compile-time technology, meaning that applications are compiled before being sent to the browser, resulting in faster and more secure performance. Additionally, SvelteKit offers a wealth of useful features for web application development, such as routing, form handling, and API support.

In summary, the combination of Rust and Tokio with SvelteKit is an excellent choice for building scalable, secure, and high-performance web applications.

Install `sqlx-cli` using `cargo install sqlx-cli`, then run following:

```
git clone https://github.com/louire/Todo-RustSvelte.git
cd Todo-RustSvelte/
```

## backend

```
cd backend/
sqlx database setup
cargo run
```

## frontend

```
cd frontend/
npm install
npm run dev
```