Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
113ea83
commit 57f92e5
Showing
11 changed files
with
351 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,48 @@ | ||
# instagram_clone_flutter | ||
# Instagram Clone | ||
|
||
A new Flutter project. | ||
A completely Responsive Instagram App- Works on Android, iOS & Web! | ||
|
||
## Getting Started | ||
## Features | ||
- Responsive Instagram UI | ||
- Email & Password Authentication | ||
- Share Posts with Caption | ||
- Display Posts with Caption | ||
- Like & Comment on Posts | ||
- Search Users | ||
- Follow Users | ||
- Display User Posts, Followers & Following | ||
- EVERYTHING REAL TIME | ||
- Sign Out | ||
|
||
This project is a starting point for a Flutter application. | ||
## YouTube | ||
I have created a tutorial based on this, do check it out on my channel [Rivaan Ranawat](https://youtu.be/BBccK1zTgxw) | ||
|
||
A few resources to get you started if this is your first Flutter project: | ||
<p align="center"> | ||
<img width="600" src="https://github.com/RivaanRanawat/instagram-flutter-clone/blob/master/screenshot.png" alt="Youtube Tutorial Image"> | ||
</p> | ||
|
||
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) | ||
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) | ||
|
||
For help getting started with Flutter, view our | ||
[online documentation](https://flutter.dev/docs), which offers tutorials, | ||
samples, guidance on mobile development, and a full API reference. | ||
## Installation | ||
After cloning this repository, migrate to ```instagram-flutter-clone``` folder. Then, follow the following steps: | ||
- Create Firebase Project | ||
- Enable Authentication | ||
- Make Firestore Rules | ||
- Create Android, iOS & Web Apps | ||
- Take Web FirebaseOptions and put it in main function in main.dart file replacing my keys (My keys wont work as I deleted my project) | ||
Then run the following commands to run your app: | ||
```bash | ||
flutter pub get | ||
open -a simulator (to get iOS Simulator) | ||
flutter run | ||
flutter run -d chrome --web-renderer html (to see the best output) | ||
``` | ||
|
||
## Tech Used | ||
**Server**: Firebase Auth, Firebase Storage, Firebase Firestore | ||
|
||
**Client**: Flutter, Provider | ||
|
||
## Feedback | ||
|
||
If you have any feedback, please reach out to me at namanrivaan@gmail.com | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,4 +91,8 @@ class AuthMethods { | |
} | ||
return res; | ||
} | ||
|
||
Future<void> signOut() async { | ||
await _auth.signOut(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.