title: First attempt at AWS Amplify with NodeJS gives 404 page not found
body: <p>When go to the url given, something like this: <a href="https://master.xyz.amplifyapp.com/" rel="nofollow noreferrer">https://master.xyz.amplifyapp.com/</a>, I get 404 page not found.   I don't need my own domain for this proof of concept. I also tried <a href="https://master.xyz.amplifyapp.com/poc" rel="nofollow noreferrer">https://master.xyz.amplifyapp.com/poc</a> (see my directory structure below).  Same result.</p>
  <p>Previous steps taken:</p>
  <ol>
  <li><p>The directory was originally created by doing a clone of an empty AWSCodeCommit repository.</p>
  </li>
  <li><p>I ran create-react-app poc, and when I do npm start in the &quot;poc&quot; directory, it shows fine in the browser with this url: http://localhost:3000/  (Note at bottom of this post, I did the same thing with a NodeJS RESTAPI and got the same result).</p>
  </li>
  <li><p>This is my directory structure, and from there I did:</p>
  <p>git add -all
  git commit -m&quot;first checking&quot;
  git push</p>
  </li>
  </ol>
  <p><a href="https://i.stack.imgur.com/Eo3gS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Eo3gS.png" alt="enter image description here" /></a></p>
  <p>In AWSCodeCommit I can browse the repository and see the code there.</p>
  <ol start="4">
  <li>This is the result of connecting CodeCommit to Amplify:
  <a href="https://i.stack.imgur.com/eqG0b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eqG0b.png" alt="enter image description here" /></a></li>
  </ol>
  <p>I'm expecting to see the same thing from the provided URL (<a href="https://master.xyz.amplifyapp.com/" rel="nofollow noreferrer">https://master.xyz.amplifyapp.com/</a>) as I do on my local machine (localhost:3000).</p>
  <ol start="5">
  <li>I had one idea.  I copied the poc directory up to the main directory, committed, pushed, saw it rebuild/deploy, and tried again, but same result.</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/rGKSd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rGKSd.png" alt="enter image description here" /></a></p>
  <p>NOTE: I have gone through the same exercise with a simple NodeJS REST API.  It also gets the &quot;page not found&quot;.</p>
  <p>Local: http://localhost:8080/api/books
  returns: [{&quot;title&quot;:&quot;Harry Potter&quot;,&quot;id&quot;:1},{&quot;title&quot;:&quot;Twilight&quot;,&quot;id&quot;:2},{&quot;title&quot;:&quot;Lorien Legacies&quot;,&quot;id&quot;:3}]</p>
  <p>With Amplify:
  <a href="https://master.xyz.amplifyapp.com/api/books" rel="nofollow noreferrer">https://master.xyz.amplifyapp.com/api/books</a>
  gives &quot;404 page not found&quot;.</p>
  <p>I was thinking the problem with the React was that it was a regular React app, and not a Native-React application.  But now I'm getting same issue with a simpler nodeJS application, and no idea what to try next.</p>