Skip to content

tiendat0811/Instagram-Clone

Repository files navigation

Instagram Clone

By Tien Dat Pham

Flutter/Dart
Firebase Realtime Database - Firebase Storage
Facebook Developer - Facebook Login

How to run

Note: If after all the steps you still can't run or get an error, please contact me using the information at the end

Make sure you are using these versions (you can update if you want):
  • Flutter 3.0.1
  • Dart 2.17.1
  • Environment sdk : >=2.17.1 <3.0.0
  • Kotlin 1.6.10
  • android/app/build.gradle: minSdkVersion 22/targetSdkVersion 31
Command to run:

flutter clean
flutter pub upgrade --major-versions
flutter pub outdated
flutter pub get
flutter run
Here is list test accounts or you can Login with Facebook or Sign up new account for you
  1. email: cat@gmail.com /password: 123456
  2. email: dog@gmail.com /password: 123456

Configure Firebase tutorial

Note: unnecessary - only if you want to use your firebase

Step 1 - Create Project and Android App in firebase console

  • Add or Change google-services.json

  • Add Firebase SDK and create

Step 2 - Configure Authentication

  • Click Authentication -> Click Get Started

  • Choose Email/Password -> Enable Email/Password -> Save

Step 3 - Configure Realtime Database

  • Click Realtime Database -> Click Create Database -> Next

  • Security rules -> Start in test mode -> Enable

  • Click Edit Rules and change follow below

Step 4 - Configure Storage

  • Click Storage -> Click Get started

  • Secure rules for Cloud Storage : click "start in test mode" -> Next -> Done

  • Click Edit rules and change follow below

License

BSD License

Contact

Email : phamtiendat230901@gmail.com

Facebook : @Code.moew

Phone : 0903684049