https://github.com/mownier/photostream
A photo sharing iOS app that uses Firebase and is being driven by VIPER architecture.
https://github.com/mownier/photostream
firebase ios swift3 viper-architecture
Last synced: about 1 month ago
JSON representation
A photo sharing iOS app that uses Firebase and is being driven by VIPER architecture.
- Host: GitHub
- URL: https://github.com/mownier/photostream
- Owner: mownier
- License: mit
- Created: 2016-08-31T07:06:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-27T14:15:43.000Z (over 7 years ago)
- Last Synced: 2025-03-24T01:13:09.282Z (about 2 months ago)
- Topics: firebase, ios, swift3, viper-architecture
- Language: Swift
- Homepage:
- Size: 2.33 MB
- Stars: 172
- Watchers: 14
- Forks: 41
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Photostream
A photo sharing app that uses Firebase.
- [x] Swift 4
- [x] iOS 11There is a `swift3` branch for those who want to stay on Swift 3.
## How To Make It Work?
- Clone this repo or download source code.
- Do `$ pod install`. (_install cocoapods first if not installed_)
- Create a new project in your Firebase console.
- Set the database rules to:
```
{
"rules": {
".read": "auth != null",
".write": "auth != null",
"users": {
"$user_id": {
".indexOn": ["username", "id", "email"]
},
".indexOn": ["username", "id", "email"]
}
}
}
```
- Enable `Email/Password` sign-in method.
- Download the `GoogleService-Info.plist` file.
- Put the file into the root of the project folder.
- Open `Photostream.xcworkspace` and add the file into the `Photostream` project.
- Modify the bundle identifier and display name.
- There you go, build and run the app. :)## Screenshots
||||
|---|---|---|
|| | |
|| | |
|| | |## Remarks
This app is built because there is no complicated iOS app (_social media-ish_) out there that uses the VIPER arthictecture. A todo list app is not enough to see what the VIPER architecture can really do. If you have comments or improvements about it, just file an issue and let us discuss about that. Also, this will somewhat give a leverage to those who are still into Massive View Controller (MVC) coding approach. Reading articles about VIPER architecture is not enough, putting it into practice makes it more interesting and exciting. Happy Coding!## License
MIT License