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

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

Awesome Lists containing this project

README

          

# Rest API Rust

## Reference implementation

[![test](https://github.com/slavik-pastushenko/rest-api-rust/actions/workflows/test.yml/badge.svg)](https://github.com/slavik-pastushenko/rest-api-rust/actions/workflows/test.yml)
![GitHub issues](https://img.shields.io/github/issues/slavik-pastushenko/rest-api-rust)
![GitHub](https://img.shields.io/github/license/slavik-pastushenko/rest-api-rust)

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
```