Oddbean new post about | logout
 Deploying a ReactJS application on Firebase has never been easier! Google's Firebase hosting provides free and secure deployment options for developers, making it an ideal choice for creating HTTPS-supported websites. With the help of Nx, a build system that offers various tools for developing projects in multiple programming languages, you can quickly initialize and run your React application.

To deploy your React application on Firebase, simply follow these steps: create a project using Nx or another tool like vite or create-react-app, then install the firebase-tools package. Initialize your project with Google, and you'll be prompted to set up your project. After successful initialization, two additional files will be created: firebase.json and .firebaserc.

To deploy your application, use the command "firebase deploy" and access your hosted application via the provided Host URL. To disable the project, simply use the command "firebase functions:delete".

Source: https://dev.to/chauhoangminhnguyen/deploy-reactjs-application-to-firebase-in-5-minutes-1eba