'How can I deploy to gh-pages using json-server and parcel command?

I want to distribute what I have studied. In local , open a screen by typing the following in a terminal:

"parcel index.html",
"json-server --watch products.json --port 8080",
"json-server users.json -m ./node_modules/json-server-auth"

How can I deploy and host this on gh-pages?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source