Skip to content

Latest commit

 

History

80 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository Mobile Development

Introduction to LitFinder

LitFinder app aims to help users discover new books based on their preferences and interests. By providing personalized book recommendations, easy access to book genres, and the ability to purchase books directly from the app, users can conveniently explore, review, and purchase books that align with their reading preferences, ultimately enhancing their reading experience.

How to replicate our app

Step 1: Cloning the Project from GitHub

Open Terminal: Open your terminal or command prompt.

Clone the Repository: Use the git clone command followed by the repository URL.

Copy code

git clone https://github.com/LitFinder/mobile_development.git

Navigate to Project Directory: Change your directory to the cloned project.

Copy code

cd safepath

Step 2: Open Project in Android Studio

Open Android Studio: Launch Android Studio.

Open Existing Project: Click on "Open" or "Open an existing Android Studio project".

Navigate to the Project Directory: Browse to the directory where the project was cloned, then click "OK".

Wait for Project Sync: Android Studio will automatically start syncing the project. This might take a few minutes as it downloads necessary dependencies.

Step 3: Set Up BuildConfig in Android Studio

Open the BuildConfig File: Navigate to app/build.gradle within your project.

Configure the DefaultConfig: Inside build.gradle, find the defaultConfig block and add the necessary configurations. Example:

android {
    compileSdkVersion 33

    buildFeatures {
        ...
        buildConfig = true
    }

    defaultConfig {
        applicationId "com.example.myapp"
        minSdkVersion 21
        targetSdkVersion 33
        versionCode 1
        versionName "1.0"

        buildConfigField("String", "BASE_URL", "\"https://example.com\"")

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    ...
}

Step 4: Sync the Project:

After making changes, resynchronize your project by clicking Sync Now at the top of the editor. Or you can also use the following method:

Build -> Clean Project

After the project has finished synchronizing, the next stap is :

Build -> Rebuild Project

After all the steps are done, you will be able to call the name of the gradle build in the following way:

fun getApiBook(tokenProvider: () -> String): ApiService {
    ...

    return Retrofit.Builder()
        .baseUrl(BuildConfig.BASE_URL)
        .client(client)
        .addConverterFactory(GsonConverterFactory.create())
        .build()
        .create(ApiService::class.java)
}

Design in Figma

Group 481523 (1) 1

Feature

  1. Splashscreen: The initial screen that appears when the app is launched.

splashscreen 1

  1. Login and Register: Allows users to create accounts or log in to access the app's features.

login 1 register 1

  1. Add book preference: Lets users input their favorite books to personalize recommendations.

pilih_book_preference 1

  1. Add genre preference: Enables users to select their preferred book genres for tailored suggestions.

pilih_genre_preference 1

  1. Home: The main screen where users can navigate through different sections of the app.

home home_2

  1. Recommendation book: Provides suggestions on books based on user preferences.

recommendation recommendation_2 recommendation_3

  1. Detailed Book, review book: Shows detailed information about a book and allows users to read and write reviews.

detail_book detail_book_review

  1. Share book / banner: Allows users to share books or promotional banners with others.

share_banner 1

  1. Buy Book: Allows users to buy their desired books by redirecting them to the book's purchasing website for a seamless shopping experience.

detail_book

  1. Discovery: Helps users explore new books and genres they might be interested in.

dsicover 1

  1. Bookshelf: A virtual shelf where users can organize and view their saved books.

rak_buku 1

  1. Profile (change personal data such as name, bio, profile picture, change password): Allows users to manage their personal information and account settings.

profil 1 edit_profil 1

  1. Forget Password: Provides a way for users to reset their password if forgotten.

lupa_sandi 1

  1. Edit Genre Preference: Allows users to modify their selected book genres.

ubah_genre 1

  1. Darkmode: A feature that changes the app's color scheme to a darker theme for reduced eye strain in low-light environments.

profil-darkmode 1

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages