GithubHelp home page GithubHelp logo

codingforentrepreneurs / fastapi-microservice-for-django Goto Github PK

View Code? Open in Web Editor NEW
84.0 6.0 50.0 98 KB

Deploy a microservice REST API endpoint for our Try Django 3.2 https://cfe.sh/projects/try-django-3-2 project using FastAPI, pytesseract, Docker, & DigitalOcean App Platform.

Home Page: https://www.codingforentrepreneurs.com/projects/fastapi-microservice-django

Python 80.30% HTML 11.94% Dockerfile 5.95% Shell 1.81%
fastapi python3 microservice tutorial docker digitalocean digitalocean-app-platform pytessearct

fastapi-microservice-for-django's Introduction

FastAPI Microservice for Django

Learn to deploy a FastAPI application into production DigitalOcean App Platform. This is a microservice for our Try Django 3.2 project. The goal is to extract any and all text from images using a technique called OCR.

Here's a list of the packages we will use to accomplish this:

  • FastAPI
  • Tesseract OCR
  • pytesseract
  • pre-commit
  • pytest
  • Gunicorn
  • Uvicorn
  • Requests
  • Docker
  • and more

Want to just run the app?

Click below to deploy to DigitalOcean. Be sure to grab your $100 credit here.

Deploy to DO

fastapi-microservice-for-django's People

Contributors

codingforentrepreneurs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fastapi-microservice-for-django's Issues

Outdated pydantic settings

There's a problem when building API in digitalocean.

pydantic.errors.PydanticImportError: BaseSettingshas been moved to thepydantic-settings package

FIX:

# from pydantic import BaseSettings # OLD
from pydantic_settings import BaseSettings # NEW

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.