I'm trying to deploy my react + express app in AWS elasticbeanstalk. I have created the build version of my react app and I am serving it as a static asset but I am getting 404 error message. I don' t know why ? Are there other methods to deploy react + express in AWS
Does it the front end code have to be served by AWS? I've used Netlify to deploy an AngularJS application and it was really easy, it works well, and it's free. If all you need is to serve some static files, Netlify could be an alternative
Gustavo Martins T Borges
Trying to be better than me yesterday.
You can push your static files to AWS S3 bucket and serve with CloudFront. I'm using this away in my projects. On ClouldFront you need to config to always returns de index.html.