By default React will allow us to run the app from the Development on localhost:3000. But since I need to manipulate the data & I need to use JSON Server on my local machine, so it would be ideal to test how the app work in the Production on localhost:8000.
First, open the terminal, I used the one that build in on VS Code.
npm run build
npm install -g serve
I believe most people have agreed that it is beneficial for the human race to have an open mind. For millions of years, humans have evolved so drastically, mostly in the last 30 years.
We can see clearly how people with an open mind can excel in their life faster. They embrace new information, new knowledge, technology, and challenges. Yet, having an open mind doesn’t guarantee that it will bring the thing we want the most, peace and happiness.
It might seem even harder to experiencing a state of feeling peaceful and happy in this most challenging time. Yes, because…
While I coded, I made a small mistake and it called the API more than the maximum allowance number. Later, I fixed that issue. But then, I got this email from OpenWeatherMap.
Web Designer | Front-end React Developer