https://github.com/maltsev-dev/note_service
Web app based on actix_web
https://github.com/maltsev-dev/note_service
actix-web rust rust-lang serde-json sqlx tokio
Last synced: 3 months ago
JSON representation
Web app based on actix_web
- Host: GitHub
- URL: https://github.com/maltsev-dev/note_service
- Owner: maltsev-dev
- License: mit
- Created: 2024-11-18T05:05:33.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-01-26T02:39:12.000Z (4 months ago)
- Last Synced: 2025-03-12T07:18:51.764Z (3 months ago)
- Topics: actix-web, rust, rust-lang, serde-json, sqlx, tokio
- Language: Rust
- Homepage:
- Size: 43.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# backend server
**Note service** is a binary crate written in Rust.
This is a basic representation of a backend web-server, designed for use in web applications thanks to its support for WebAssembly.




## 🚀 Features
- 🧮 Async CRUD operations.
- 🌐 Actix-Web core.
- ♻️ sqlx support.## 📦 Installation
1. Make sure you have [Rust](https://www.rust-lang.org/tools/install)
2. Install `sqlx` tools:
```bash
cargo install sqlx-cli --features sqlite
cargo sqlx prepare
```
3. Run `sqlx` migration
```bash
cargo sqlx migrate run
```
4. Build and run the project
```bash
cargo build
cargo run
```
5. Open bind http://127.0.0.1:80806. Use paths
* GET `/notes`
* GET `/notes/{id}`
* POST `/notes`
* PUT`/notes/{id}`
* DELETE `/notes/{id}`