rohan-paul / cryptocurrency-price

Small React app for just showing cryptocurrency prices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A super small app fetching prices of cryptocurrencies using coinmarketcap API. Live version running here at Surge

Deploy Create React App with Surge

create a build folder

npm run build

cd build

surge

At the step where it will give me a default site name, I can just put my own, by deleting the default one.

But only thing is that I have to add “.surge.sh” to my site name. So in this case, I will put cryptocurrency-react-app.surge.sh

After a site has been deployed, how push the diffs to the earlier deployed site - to the same URL

Just like most deployment, it will have to be a fresh deployment. So at the step ( during the fresh deploy of a new project), when I have to choose / edit the exact URL name (keeping .surge.sh at the end intact) - just type the same old URL again, which will be

cryptocurrency-react-app.surge.sh

NOTE - They clearly mention in their site that at this moment, there’s no functionality to push only the diffs, they will have to push the entire project again replacing the previous files.

https://surge.sh/help/using-incremental-publishing

and follow the prompts. All it needs is an email and a password, and you can optionally specify a different domain name.

About

Small React app for just showing cryptocurrency prices


Languages

Language:JavaScript 75.0%Language:HTML 14.5%Language:CSS 10.5%