https://github.com/slavik-pastushenko/rest-api-rust
A RESTful API for managing tweets
https://github.com/slavik-pastushenko/rest-api-rust
actix-web boilerplate example rest-api rust tests
Last synced: 10 months ago
JSON representation
A RESTful API for managing tweets
- Host: GitHub
- URL: https://github.com/slavik-pastushenko/rest-api-rust
- Owner: slavik-pastushenko
- License: mit
- Created: 2023-08-13T15:35:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-02T19:54:01.000Z (over 2 years ago)
- Last Synced: 2024-11-05T21:25:51.850Z (about 1 year ago)
- Topics: actix-web, boilerplate, example, rest-api, rust, tests
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rest API Rust
## Reference implementation
[](https://github.com/slavik-pastushenko/rest-api-rust/actions/workflows/test.yml)


Provides a RESTful API for managing tweets.
## Features
- Create a tweet
- Update a tweet
- Delete a tweet
- Get a tweet
- Get all tweets
## Contributing
- Build an application:
```bash
cargo build
```
- Test an application:
```bash
cargo test
```
- Run an application:
```bash
cargo run
```
- Run an application in watch mode:
```bash
cargo install cargo-watch
cargo watch -x 'run'
```
- Generate documentation in HTML format:
```bash
cargo doc --open
```