Skip to content

This is a clone of the RedBus App which is India's leading bus ticketing platform providing ticket booking facilities.

Notifications You must be signed in to change notification settings

AmolPardeshi99/TravelBus

Repository files navigation

GitHub Cards Preview

TravelBus

TravelBus is an Indian online bus ticketing platform, providing ticket booking facility through android app.

Available on Playstore

🔗Open-Source Library

Things we used while making this application

  • GitHub
  • Firebase
  • Videoview
  • Fragments
  • Navigation
  • Retrofit Library
  • Autoslider ANimation
  • Google Maps Place API

Tech Stack ✨

Clone this Repo To Your System Using Android Studio✨

  • Step 1: Open your Android Studio then go to the File > New > Project from Version Control as shown in the below image.
  • Step 2: After clicking on the Project from Version Control a pop-up screen will arise like below. In the Version control choose Git from the drop-down menu.
  • Step 3: Then at last paste the link in the URL and choose your Directory. Click on the Clone button and you are done.

Clone this Repo To Your System Using GitBash✨

  • Open Git Bash

  • If Git is not already installed, it is super simple. Just go to the Git Download Folder and follow the instructions.

  • Go to the current directory where you want the cloned directory to be added.

  • To do this, input cd and add your folder location. You can add the folder location by dragging the folder to Git bash.

  • Go to the page of the repository that you want to clone

  • Click on “Clone or download” and copy the URL.

  • Use the git clone command along with the copied URL from earlier. $ git clone https://github.com/AmolPardeshi99/TravelBus.git

  • Press Enter. $ git clone https://github.com/AmolPardeshi99/TravelBus.git Cloning into Git … remote: Counting objects: 13, done. remote: Compressing objects: 100% (13/13), done. remove: Total 13 (delta 1), reused 0 (delta 1) Unpacking objects: 100% (13/13), done.

**Note: Need to add your own Google Map API Incase Api not working or expired from current project.

Congratulations, you have created your first local clone from your remote Github repository.

Open Android Studio. Go to File > New > Project From Version Control. Copy the link of this repositary. Paste the link in Url Box of Android Studio window and click on "Clone" button.

Dependencies

//firebase
implementation platform('com.google.firebase:firebase-bom:28.4.0')
implementation 'com.google.firebase:firebase-auth-ktx'
implementation 'com.google.firebase:firebase-database-ktx'
implementation 'androidx.browser:browser:1.3.0'
implementation 'com.google.android.gms:play-services-auth:19.2.0'
implementation 'com.google.firebase:firebase-firestore-ktx:23.0.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'


def anko_version = '0.10.0'

implementation 'androidx.core:core-ktx:1.6.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

//Anko
implementation "org.jetbrains.anko:anko-commons:$anko_version"

//Room
implementation 'androidx.room:room-ktx:2.1.0'
kapt 'androidx.room:room-compiler:2.1.0'

// MVVP
// ViewModel and LiveData
def arch_version = '2.2.0-alpha01'
implementation "androidx.lifecycle:lifecycle-extensions:$arch_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$arch_version"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$arch_version"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$arch_version"


//Retrofit
def retrofit2_version = "2.9.0"
def okhttp3_version = "4.9.0"
//retrofit
implementation "com.squareup.retrofit2:retrofit:$retrofit2_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit2_version"

//Okhttp3
implementation "com.squareup.okhttp3:okhttp:$okhttp3_version"


//hilt
implementation("com.google.dagger:hilt-android:2.38.1")
kapt("com.google.dagger:hilt-android-compiler:2.38.1")

// navigation graph
def nav_version = "2.3.5"

implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"

//Google Place API
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.android.gms:play-services-location:17.0.0'
implementation 'com.google.android.gms:play-services-places:17.0.0'
implementation 'com.google.android.libraries.places:places:1.1.0'

Releases

No releases published

Packages

No packages published

Languages