Outline

It's becoming popular to have your frontend and backend split up in production so you can push to each separately. For example, one might use Amazon S3 to store & host the frontend files but use Heroku for hosting the backend API.

Backend

Learn how to deploy your backend codebase on...

Heroku

Elastic Beanstalk

Frontend

Note: When you deploy your frontend apps to production, make sure your API URL is changed in the frontend codebase to point at the hosted backend instead of localhost:3000, etc.

Learn how to deploy your frontend codebase on...

Amazon S3

Firebase Hosting