Using React, Material UI and Json-Server (Temporary Server)
Before run, you have to install npm module first :
Next, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
For environments using Node, the easiest way to handle this would be to install serve and let it handle the rest:
npm install -g serve serve -s build
The last command shown above will serve your static site on the port 5000. Like many of serve’s internal settings, the port can be adjusted using the -l or --listen flags:
serve -s build -l 4000
Run this command to get a full list of the options available:
serve -h