A small and simple Phone Catalog App.
The application is built with two principal artifacts:
Simple REST API using JSON Server for mocking the phone catalog items.
React application that shows the phones returned by the API. This project was bootstrapped with Create React App.
To write the application, the following libraries have been used:
We just need to run the following command under the project root directory:
$ npm install
Next step is to run the JSON server for retrieve data from the UI. Fot that, just run the following command under the root directory:
$ npm run mock
Once is up & running, it will be listening under http://localhost:4000 for UI fetching data.
Finally we just run the React app and see it working. For that, just run the following command under the root directory:
$ npm start
Then, we will be listening under http://localhost:3000 for browser interaction.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Made with ❤️ for everyone who wants to Learn ⚛️.