Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 30, 2021 07:56 pm GMT

Introducing FARM Stack - FastAPI, React, and MongoDB

When they got programming Technologies, the LAMP (Linux, Apache, MySQL, PHP) stackand its variationsruled 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 MERNMongoDB, speed, flexibility, minimal boilerplatebut 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.


Original Link: https://dev.to/rajanpatil/introducing-farm-stack-fastapi-react-and-mongodb-3g64

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To