GETTING STARTED WITH FIRST API AND DOCKER

What is FASTAPI?

Fats API is a Python framework for developing web applications and deploying machine learning models. It is now one of the fastest web frameworks in Python. It speeds up feature development by roughly 200 percent or more.

Because of its strong editor support, Fast API allows you to spend minor time troubleshooting. Learning Fat API is simple since it was designed to be that way. As a result, you can spend less time reading documentation and more time coding. You also don't need to write much code because it can figure out many things for you.

What is Docker?

Docker is a technology for automating the deployment of applications in a lightweight container to run efficiently in a variety of environments.

The container is a software package that includes all of the requirements needed to run a program. On the same hardware, many programs can execute.
• The canisters are kept in separate locations.
• They are quick and straightforward to set up.
• Their output is high.

So, what is the issue that Docker is attempting to solve in the development world?
Whenever a developer creates a product, there are particular challenges that nearly always exist. One of these issues is that when you build a project, it works well on your machine, the development machine, but it fails to work as soon as it is moved to the production stage, to servers or another developer's workstation.

The classic problem that Docker is intended to answer is the 'it works on my machine.' You've undoubtedly used or heard this term from another developer at some point in your development career. It is compatible with practically any language, including Python.

Docker supports completely sealed containers. Docker's heart is made up of containers. These containers encapsulate your entire code and are portable. Take that container and place it on any machine. It will work exactly as it does on your machine since, as we previously discussed, Docker is compatible with practically all frameworks.

Docker also enables social containers. They, like your social status, can be shared. Isn't it cool? The best thing is to share your creations on Instagram, Twitter, and other social media platforms. Again, cool, isn't it?

The Docker containers are packed up with your:
• Code
• Process
• Networks
• Configurations
• Dependencies

42