This my folder structure. "Db" folder contains api "db.json". "restaurant-app" is the react app folder
I want to deploy this as a live website. I don't know how to deploy a react app with a fake api like above. Please someone help in this
For more details regarding my project this is my github link for this project : Github Restaurant App
Take a look at JSON-Server https://github.com/typicode/json-server, effectively creates a mock nodejs server. Good documentation too