Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sitek94/pocket-globe-app
Use the draggable and zoomable globe to explore countries of the world.
https://github.com/sitek94/pocket-globe-app
d3 material-ui react
Last synced: 7 days ago
JSON representation
Use the draggable and zoomable globe to explore countries of the world.
- Host: GitHub
- URL: https://github.com/sitek94/pocket-globe-app
- Owner: sitek94
- License: mit
- Created: 2020-09-25T15:00:21.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-30T19:52:32.000Z (almost 3 years ago)
- Last Synced: 2023-03-08T06:40:02.248Z (over 1 year ago)
- Topics: d3, material-ui, react
- Language: JavaScript
- Homepage: https://sitek94.github.io/pocket-globe-app
- Size: 31.6 MB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Lists
- awesome-jekyll - sitek94/pocket-globe-app - Use the draggable and zoomable globe to explore the countries of the world. (JavaScript)
- awesome-stars - sitek94/pocket-globe-app - Use the draggable and zoomable globe to explore the countries of the world. (JavaScript)
README
# Pocket Globe App
This app let's you explore all the counties of the world by clicking on them
on the draggable and zoomable globe.![app layout](./screenshots/main.gif)
## Country details through REST API
![country details](./screenshots/country-info.png)
To fetch information about each country I'm using the following REST API endpoints:
- [REST Countries API](https://restcountries.eu/) - to get information such as country's capital, currency, etc.
- [Wikimedia REST API ](https://wikimedia.org/api/rest_v1/) - to get a short paragraph about a country## Amazing photos from Unsplash JSON API
All the photos used in the app come from [Unsplash JSON API](https://unsplash.com/developers) which provides free and high-resolution photos.
![country photos from unsplash](./screenshots/unsplash.png)
## Go to your current location
![show my location](./screenshots/location.gif)
## Show random country
![show random country](./screenshots/random.gif)
## Autocomplete form
![autocomplete form](./screenshots/autocomplete.gif)
Use autocomplete form to find a country
## Dark mode
![dark mode](./screenshots/dark-mode.png)
## Technologies used
- React
- D3 + TopoJSON + World Atlas TopoJSON
- Material-UI
- REST Countries API
- Unsplash API
- Wikimedia REST API## Accessibility
### Keyboard shortcuts
| Key | Description |
| -------- | :------------------------- |
| `ctrl ↑` | Rotate up |
| `ctrl ↓` | Rotate down |
| `ctrl ←` | Rotate left |
| `ctrl →` | Rotate right |
| `+` | Zoom in |
| `-` | Zoom out |
| `l` | Rotate to selected country |
| `r` | Select random country |
| `w` | Show/hide widgets |
| `ctrl /` | Show/hide shortcuts |