Those developers who can develop both → Frontend as well as Backend, call themselves “Full Stack” Developer.
Learning to do both can be quite messy. But don’t worry this article will surely guide you. I have travelled the path for a very long time and have tried many programming languages and frameworks. At last I have found the best and easiest way to develop full stack websites.
I will not make this article long for you. The answer is NEXT.JS
This framework is all you need for doing full stack framework. If you don’t know, next.js is a framework that is built on top of React. On their official landing page, they show this →
The React Framework for Production
Now let me introduces it’s features and what can you do with it :
- You can develop frontend with it. The page routing is built in and you can use any css framework you want with it. It also supports tailwindcss, material ui, bootstrap, …. It uses component structure for building UI.
- You can develop backend with it. Hell yeah! You can build APIs, get data from external APIs, authentication, authorization, everything that you normally can do with other backend frameworks.
- You can connect firebase backend with it easily. In this case you don’t have to develop backend with next.js. You will be using next.js just for frontend.
- You can connect backend that is built with other frameworks like django or express.js or any other with next.js frontend with out any problem.
- You can build static web pages with it. So the process is → You develop website → then export the website in normal HTML, CSS files. Then you can host it wherever you want.
- Another very good feature of it, is that it has server side rendering support built-in. So you don’t have to worry about bad SEO anymore.
- Supports typescript
- Moving your project to production is super easy with vercel. But you can choose any hosting service you want.
This and a lot more. Visit their official site to know better.
NOTE: I am not saying that next.js is the only way in 2022 to do full stack. You can do full stack development with other options also like → react + django or any other stack. I only recommend next.js because I like it.
FOLLOW ME to get more articles like that. I also write on next.js tutorials, you don’t want to miss them right. Bye. With 💗 love from India.