Code Monkey home page Code Monkey logo

docker-fastapi-projects's Introduction

Docker FastAPI projects

Well-documented examples of deployment-ready FastAPI applications written from scratch.

https://docker-fastapi-projects.readthedocs.io/en/latest/

So, you want to include a docker in your FastAPI app, but there is a Great Wall?

That's definitely a good place to learn how to jump over it.

Although the official FastAPI documentation covers many basic topics, for developers unfamiliar with Docker_, deploying a real-world backend API can be a nightmare. There is a huge gulf between the hello-world application on localhost:8000 and the application in production.

This project is an attempt at an orderly way through the process of creating more and more complex APIs, with an emphasis on deployment using Docker.

Nice to have:

  • Knowledge of the basics of REST.
  • At least basic knowledge of Python and FastAPI.
  • Literally any knowledge of Docker (Docker For Beginners Video on YouTube, Dockerfile official reference).
  • Docker Desktop client installed on your machine.
  • Any experience with cloud platforms like AWS, Azure, Digital Ocean, Google Cloud etc. (While an AWS EC2 instance will be used in the project, any virtual machine with docker and ssh access will also be excellent).

Uvicorn

This dead simple application shows you to how to create a simple Docker Image with running FastAPI app with Uvicorn and presenting the basics of creating and running Docker Images.

See chapter dedicated to this repository

Nginx

This dead simple application shows you to how to create a simple Docker Image with running FastAPI app with Nginx and presenting the basics of creating and running Docker Images.

See chapter dedicated to this repository

Nginx with PostgreSQL

This dead simple application shows you to how to create a simple Docker Image with running FastAPI app with Nginx and presenting the basics of creating and running Docker Images.

See chapter dedicated to this repository

You should have .env file in root of the project to run it. Template for .env can be found in .example.env.

docker-fastapi-projects's People

Contributors

rafsaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vanitakalai

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.