Skip to content

rodrigodelmonte/text-summarizer

Repository files navigation

text-summarizer

Continuous Integration and Delivery Code Style Black Checked with mypy

Overview

Text summarizer is an personal project to practice learns from the course Test-Driven Development with FastAPI and Docker. The project is a CRUD API to summarize blog posts powered by libraries like FastAPI, tortoise-orm, and Newspaper3k.

The project is deployed on Heroku here.

Endpoints

Endpoint HTTP Method CRUD Method Result
/summaries GET READ get all summaries
/summaries/:id GET READ get a single summary
/summaries POST CREATE get a single summary
/summaries/:id PUT UPDATE update a summary
/summaries/:id DELETE DELETE delete a summary

Demo

asciicast

Development

To have a development environment this project requires Docker and docker-compose. Please review the files Makefile and docker-compose.yml for more details:

make build # Build docker image
make run # Runs docker image
make create-db # Create required table schemas
make test # Runs tests

Contribute

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages