How to Run
- Navigate to Project root in Terminal
- gradle bootRun
- access url "localhost/8080/getalbums"
Reading and Writing Images from MongoDB
- Navigate to application.properties and set IMAGE_DIRECTORY to a path in your system
- Start MongoDB Server (type mongod in shell)
- Access url "localhost/8080/getalbums"
- Authenticate into the application using facebook credentials
- Access url "localhost/{album_id}/photos"
- Check mongodb and the file directory for the Images