Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cccaaannn/todo_backend_rs
Simple todo backend with rust.
https://github.com/cccaaannn/todo_backend_rs
rust todo
Last synced: 1 day ago
JSON representation
Simple todo backend with rust.
- Host: GitHub
- URL: https://github.com/cccaaannn/todo_backend_rs
- Owner: cccaaannn
- License: mit
- Created: 2023-11-05T01:30:25.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-12T01:36:07.000Z (about 1 year ago)
- Last Synced: 2023-11-12T02:24:38.642Z (about 1 year ago)
- Topics: rust, todo
- Language: Rust
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# todo_backend_rs
Simple todo backend with rust.
![GitHub top language](https://img.shields.io/github/languages/top/cccaaannn/todo_backend_rs?color=blue) ![GitHub repo size](https://img.shields.io/github/repo-size/cccaaannn/todo_backend_rs?color=orange) [![GitHub](https://img.shields.io/github/license/cccaaannn/todo_backend_rs?color=green)](https://github.com/cccaaannn/todo_backend_rs/blob/master/LICENSE)
---
### Running for Development
1. Install sqlx cli
```shell
cargo install sqlx-cli
```
2. Run migration
```shell
sqlx migrate run
```
3. Install cargo watch
```shell
cargo install cargo-watch
```
4. Run in watch mode
```shell
cargo watch -x run
```### Building
```shell
cargo build
```### Docker
```shell
docker build -t todo_backend_rs .
``````shell
docker run -p 8080:8080 --name todo_backend_rs todo_backend_rs
```