Packaging Your React App With NodeJS Backend For Production
A step by step Guide with an Example Project
There are so many ways we can package and ship React apps to production. There are serverless and traditional architectures. In traditional architecture, we have different ways: Nodejs, Java, Python, etc.
In this post, we are going to discuss how we can package the React app with nodejs backend. There are several ways: manual, with webpack, with Gulp, etc we will see all these approaches in detail.
- Prerequisites
- Example Project
- Manual Implementation
- With Webpack
- Packaging With Gulp
- With Docker
- Summary
- Conclusion
Prerequisites
Let’s see what are all the prerequisites for this. You can actually go through these links if you want to explore these tools on your own.