Code Monkey home page Code Monkey logo

google-photos-viewer's Introduction

React Google Photo viewer

View all your albums from your Google Photos account - built in React using Google Photos API.

Development Dependencies

  • NodeJS (v10.15.1)
  • NPM (v6.4.1)

Setting Up Development Machine

npm install

Copy .env.development.local.sample to .env.development.local and fill it in with your own Google Photos API key. Copy .env.production.local.sample to .env.production.local and fill it in with your own Google Photos API key.

Running Development Machine

npm start

This will start a version of the app at: http://localhost:3000/

Auto Formatting

npm run format

Deploying to Production

npm run build

This will create a production version of the site to the /build directory

Deploying to GitHub Pages

In the package.json file, make sure the "homepage" property is set to the correct URL on GitHub pages which should match the nametag of your GitHub repository, "google-photos-viewer". The homepage is currently set to https://mbborromeo.github.io/google-photos-viewer/.

In your Git Bash terminal or command line, type in:

npm run deploy

This will deploy a live working version you can view in your browser on GitHub pages. The link is below.

Live Site

https://mbborromeo.github.io/google-photos-viewer/

Git Source Management

git init
git status
git add .
git commit -am "your message"
git remote add origin git@____
git push -u origin master

Testing

To Do

  • style the albums and photos
  • tie in with Google Maps for pins
  • allow user to define location even if they didn't have Geo-location turned on when they took the photo
  • remember users defined locations when they next login

Appendix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.