This step is optional and you can do it if you are interested in deploying this application to Heroku. To continue with this section, you need to have set up a Heroku account and you need to have installed the Heroku Toolbelt.
- Once that is done, open a new Command Prompt or Terminal inside the smart-exchange-base folder and run the following command:
$ heroku login
This is your prompt for your Heroku credentials that you have signed up with.
- Once you are logged in, let's initialize a new git repository by using the following command:
$ git init
- Next, let's get our application ready for deployment. Run the following command:
$ npm run build
or
$ yarn build
This will run the required scripts to build the final dist folder, which will be deployed to Heroku. For everything to run smoothly on Heroku, we have added a file named Procfile that has the...