Skip to content

darya-shynkevich/comment_generator

Repository files navigation

Comment generator services

  • Based on FastAPI Supbase Template
  • Generates comment about given words

Usage

curl --location 'http://0.0.0.0:8000/api/v1/comments/' \
--header 'Content-Type: application/json' \
--data '{"keywords": ["lovely", "husband"]}'
curl --location 'http://0.0.0.0:8000/api/v1/comments/'

Configuration and launch

This projects uses the following standard tools:

uv is an extremely fast Python package and project manager, written in Rust.

install supabase-cli

# brew in linux https://brew.sh/
brew install supabase/tap/supabase

launch supabase docker containers

# under repo root
supabase start

Environment variables

Generate .env file based on example.env file

Dependencies installation

uv sync --all-groups --dev

Migrations

make migrate
make downgrade
make migrations

Test

make test

Launch

make start

Docker

build

make docker-build

test

make docker-start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors