Skip to content

This metrics-webapp is a single page app with react consisting two subpages, a home page and a connected details page based on the selected item. This project can also have an optional about page.

License

Notifications You must be signed in to change notification settings

tan12082001/capstone-react-metrics-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Earthquake Metrics Webapp

πŸ“— Table of Contents

πŸ“– EarthQuake Metrics Webapp

EarthQuake Metrics Webapp A Single Page App with React having two sub-pages where the main page is a home page that renders inital render with API data and there is the details page that shows more information about the selected item.

πŸ›  Built With

Tech Stack

Client

Key Features

  • In the initial version of the project using the create-react-app a test react webpage is created

  • JavaScript and Stylelint linters are installed for code implementation improvement

  • Responsive Webpage

  • Uses React Redux middleware to work with async functions for API interactions"

  • Has an Initial fetch of API data that renders

  • Can Fetch new Data based on the selected Magnitude from the drop-down

  • Can search the present cards based on the magnitude.

(back to top)

πŸš€ Live Demo

(back to top)

πŸŽ₯ Video Presentation

(back to top)

Getting Started with Create React App

This project was bootstrapped with Create React App.

More Information

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

(back to top)

πŸ’» Getting Started

EarthQuake metrics webapp is created with React-Redux. In the Home page along with the initial render of Item cards, based on the selected option from the drop-down you can fetch new data using the React hooks. And After the fetching you can search the cards based on the magnitude values (only valid with numbers). We can select the card and see more details about the card. The initial render consists of API data with Min Magnitude - 8.0.

Prerequisites

In order to run this project you need:

Linters (anything that has been setup will be installed)

 cd capstone-react-metrics-webapp
 npm install

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone git@github.com:tan12082001/capstone-react-metrics-webapp.git

Usage

To run the project, if you are using a Code Editor make use of a live server. If you are working with webpack you can run the local host with the following command.

  npm start

Deployment

You can deploy this project using:

  gh-pages

This Projects live demo will be deployed using Render

(back to top)

πŸ‘₯ Authors

πŸ‘€ Tanmayi Manku

(back to top)

πŸ”­ Future Features

  • Apply more styles for the Home page and Details page

  • Construct the About page and reference page

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the GitHub page.

(back to top)

⭐️ Show your support

If you like this project give it a star.

(back to top)

πŸ™ Acknowledgments

I would like to thank Microverse for providing the required lessons and tutorials for successfully completing the project.

United States Geological Survey - USGS

EarthQuakes data API(Initial) - API

Nelson Sakwa on Behance - Behance Version Template

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

This metrics-webapp is a single page app with react consisting two subpages, a home page and a connected details page based on the selected item. This project can also have an optional about page.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published