Deploying an app to Surge is insanely easy, and it’s even free (including a custom domain and SSL).


Step1 : Install create-react-app

$ npm install -g create-react-app

$ create-react-app my-app
$ cd my-app/
$ npm start

Step2 : Install Surge

$ npm install -g surge

Step3: Run the create-react-app build

$ cd your-react-project
$ npm run build

Step4: Move to the build directory

$ cd build

Step5: Run Surge πŸ‘

$ surge

Step6: Go the URL,automatically generated by surge πŸŽ‰πŸŽ‰