This application gets a users current geographical position. With this position, the application will get the sunrise and sunset times at that given location.
This has been deployed to Github Pages, at https://sun.rhys.cc. Service worker available at https://sun.rhys.cc/sw.js, and manifest https://sun.rhys.cc/manifest.json.
This project was built using node@v12.13.0
and npm@6.12.0
.
- Clone the project
git clone git@github.com:12/sunrise.git
- Navigate to the directory
cd sunrise
- Run
npm install
- Run
npm run dev
and navigate tohttp://localhost:3000
- React
- Webpack
- Babel
- Styled Components
- Relative time
-
- If sunrise has passed, display 'The sunrise was at x'
- Google Maps to allow user to select another location to get sunrise and sunset from
- Get future times