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

https://github.com/maxmekiska/micro-sentiment

A tiny rust micro-service implementation for sentiment analysis.
https://github.com/maxmekiska/micro-sentiment

microservice rust sentiment-analysis

Last synced: about 1 year ago
JSON representation

A tiny rust micro-service implementation for sentiment analysis.

Awesome Lists containing this project

README

          

# Micro-sentiment
A tiny rust micro-service implementation for sentiment analysis.

## Test
- run `cargo test`

## Run service
- run `cargo build`

## Endpoints

### Root endpoint `/`
```shell
http://127.0.0.1:8000/
```
### Sentiment endpoint `/sentiment`

```shell
curl -X POST \
-H "Content-Type: application/json" \
-d '{"text": "This is good."}' \
http://127.0.0.1:8000/sentiment
```