How to deploy your React.js App.
Firstly, create a NodeChef account. After your account is created and you are logged in, On the dashboard click on Deployments, Create a new application without a database as this is just a frontend App.
Deploy by uploading
After the App is created, You will be presented with the Deploy by Upload form. If you want to deploy by uploading your project folder, simply zip the contents
of your folder and select
Create React App
as the platform to deploy. Select the zip or the tar archive file and then click on Deploy.
Deploy from your GitHub, Bitbucket or GitLab repository
If you want to deploy from GitHub, Bitbucket or GitLab repository. Navigate to the Task manager. Click on App actions → Git integration. If you did not log in using a third party Git account. Select your provider. Select
your project and then select Deploy branch. NodeChef will automatically detect the project type, install dependencies, build and then run the app.
Deploy using the CLI
Install the CLI and then deploy using the below command:
npm install -g nodechef-cli
nodechef deploy -i yourappname -bp reactjs