Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ak1m1tsu/muerta
Muerta - RESTful API for a term paper on "Web application to control the shelf life of products using computer vision".
https://github.com/ak1m1tsu/muerta
computer-vision docker docker-compose go golang nginx redis restful-api tesseract-ocr
Last synced: 16 days ago
JSON representation
Muerta - RESTful API for a term paper on "Web application to control the shelf life of products using computer vision".
- Host: GitHub
- URL: https://github.com/ak1m1tsu/muerta
- Owner: ak1m1tsu
- License: mit
- Created: 2023-03-31T06:13:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-07T09:08:17.000Z (about 1 year ago)
- Last Synced: 2024-11-15T00:16:15.054Z (2 months ago)
- Topics: computer-vision, docker, docker-compose, go, golang, nginx, redis, restful-api, tesseract-ocr
- Language: Go
- Homepage: https://muerta.up.railway.app/
- Size: 48.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Muerta
Muerta - RESTful API for a term paper on "Web application to control the shelf life of products using computer vision".
## How to run?
First, create an `.env` file and put the following environment variables in it:
```shell
PORT=[port]
API_NAME=[name]
DB_NAME=[db_name]
DB_PORT=[db_port]
DB_HOST=[db_host]
DB_PASSWORD=[db_password]
DB_USER=[db_user]
ALLOWED_ORIGINS=[host1.com,host2.org]
CACHE_HOST=[redis_host]
CACHE_USER=[redis_username]
CACHE_PASSWORD=[redis_password]
CACHE_PORT=[redis_port]
```Then Start the Docker containers with this command:
```shell
docker compose up -d
```> Make sure you have open ports for the API and Database
## Features
- [x] Service to recognize shelf life in text from picture
- [x] JWT Authentication
- [x] Logging in JSON format
- [x] Users with roles
- [x] Swagger API documentation
- [x] Redis for caching JWT tokens