Introducing FARM Stack – FastAPI, React, and MongoDB

When they got programming Technologies, the LAMP (Linux, Apache, MySQL, PHP) stack—and its variations—ruled supreme. They used WAMP at work, DAMP at home, and deployed there customers to SAMP. But now all the stacks with memorable acronyms seem to be v…


This content originally appeared on DEV Community and was authored by rajanpatil

When they got programming Technologies, the LAMP (Linux, Apache, MySQL, PHP) stack—and its variations—ruled supreme. They used WAMP at work, DAMP at home, and deployed there customers to SAMP. But now all the stacks with memorable acronyms seem to be very JavaScript forward. MEAN (MongoDB, Express, Angular, Node.js), MERN (MongoDB, Express, React, Node.js), MEVN (MongoDB, Express, Vue, Node.js), JAM (JavaScript, APIs, Markup), and so on.

As much as they enjoy working with React and Vue, Python is still my favourite language for building back end web services. They wanted the same benefits , they got from MERN—MongoDB, speed, flexibility, minimal boilerplate—but with Python instead of Node.js. With that in mind, they want to introduce the FARM stack; FastAPI, React, and MongoDB.

What is FastAPI?
The FARM stack is in many ways very similar to MERN. They've kept MongoDB and React, but we've replaced the Node.js and Express back end with Python and FastAPI. FastAPI is a modern, high-performance, Python 3.6+ web framework. As far as web frameworks go, it's incredibly new. The earliest git commit they could find is from December 5th, 2018, but it is a rising star in the Python community. It is already used in production by the likes of Microsoft, Uber, and Netflix.

And it is speedy. Benchmarks show that it's not as fast as golang's chi or fasthttp, but it's faster than all the other Python frameworks tested and beats out most of the Node.js ones too.

Getting Started
If you would like to give the FARM stack a try, They have created an example TODO application you can clone from GitHub.


This content originally appeared on DEV Community and was authored by rajanpatil


Print Share Comment Cite Upload Translate Updates
APA

rajanpatil | Sciencx (2021-07-30T19:56:52+00:00) Introducing FARM Stack – FastAPI, React, and MongoDB. Retrieved from https://www.scien.cx/2021/07/30/introducing-farm-stack-fastapi-react-and-mongodb/

MLA
" » Introducing FARM Stack – FastAPI, React, and MongoDB." rajanpatil | Sciencx - Friday July 30, 2021, https://www.scien.cx/2021/07/30/introducing-farm-stack-fastapi-react-and-mongodb/
HARVARD
rajanpatil | Sciencx Friday July 30, 2021 » Introducing FARM Stack – FastAPI, React, and MongoDB., viewed ,<https://www.scien.cx/2021/07/30/introducing-farm-stack-fastapi-react-and-mongodb/>
VANCOUVER
rajanpatil | Sciencx - » Introducing FARM Stack – FastAPI, React, and MongoDB. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/07/30/introducing-farm-stack-fastapi-react-and-mongodb/
CHICAGO
" » Introducing FARM Stack – FastAPI, React, and MongoDB." rajanpatil | Sciencx - Accessed . https://www.scien.cx/2021/07/30/introducing-farm-stack-fastapi-react-and-mongodb/
IEEE
" » Introducing FARM Stack – FastAPI, React, and MongoDB." rajanpatil | Sciencx [Online]. Available: https://www.scien.cx/2021/07/30/introducing-farm-stack-fastapi-react-and-mongodb/. [Accessed: ]
rf:citation
» Introducing FARM Stack – FastAPI, React, and MongoDB | rajanpatil | Sciencx | https://www.scien.cx/2021/07/30/introducing-farm-stack-fastapi-react-and-mongodb/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.