Geopulse is a web app to showcase local content in your area. Currently it shows your location on a map, the weather, photos, tweets and videos within 5km.
If you find any bugs or have a question, submit it as a GitHub Issue!
- Clone repository locally
- Copy
.env.sample
to.env
and add any API keys as needed - Run
yarn && yarn dev
- Open
http://localhost:3000
in your browser
- Run
yarn test
to run tests once - Run
yarn test --watch
to automatically run when a test file changes
- Hit the landing page
- Geolocation is approximated based on IP address
- Start loading content with latitude + longitude and show loading animation until ready
- Map (Google Maps)
- Visual of your approximate current location
- Weather (Weather Underground)
- Current weather based on latitude + longitude
- Photos (Instagram)
- Up to 6 photos posted within 5km of latitude + longitude
- Note: This will only work with Instagram accounts added to the sandbox application. If you build locally and add your own Instagram API Keys it will work.
- Chatter (Twitter)
- Up to 4 tweets posted within 5km of latitude + longitude
- Videos (YouTube)
- Up to 4 videos posted within 5km of latitude + longitude
- Map (Google Maps)
- User clicks to improve accuracy (share location via browser)
- If accepted, load more accurate content
- If declined, show geolocation unavailable screen
- See enhancements
- ifconfig.io (Local IP lookup)
- freegeoip.net (External IP lookup)
- Google Maps
- Weather Underground
- YouTube