[Solved] Deploy React app with JSON-server as backend
Before building set your “homepage” in package.json to “https://jmiguelcastellanosj.github.io/ap-m”, this will let github pages load your files properly. Also if your routing doesn’t work properly, in each of your routes add “/ap-m” in front of your path (So path=”https://stackoverflow.com/” becomes path=”/ap-m”) 1 solved Deploy React app with JSON-server as backend