An open-source project for a book searching application on Android.
BookIt! leverages off of public APIs provided by book services to find the cheapest prices for books as well as to allow users to store books that they like.
BookIt utilises public book APIs in order to load book data and provide users with information about a book.
Book Information:
Best-Sellers:
Prices
In order to access the previous APIs, you will need to set up accounts on the previous sites as a developer and request for API keys.
Note: For the Google Books API, you will need to create a new project, enable the Google Books API, add an API key and restrict it for Android apps. The general steps can be found here
Now that you have API keys for the APIs used, follow the following steps to get the application to use the APIs:
- Navigate to the
assets
folder in Android Studio - Create a new file, called
config.json
- Inside of config.json, add the following:
{
"google-books-api": "enter your key",
"new-york-times-api": "enter your key",
"good-reads-api": "enter your key"
}
- Run the application
- Make a fork of this repository onto your own GitHub
- After you have made the fork, clone it into your local machine
- Then, make a remote to this repository
- Every time there is a an update made to this repository, fetch and pull from the remote to this repository
- When you wish to make a change, add the change to your local copy, commit it and then make a Pull Request to this repository, I will take a look before accepting the changes
git clone https://github.com/<github username>/bookit.git
git remote add upstream https://github.com/woojiahao/bookit.git
git fetch
git pull origin master
git add .
git commit -m "Commit message blah blah"
git push origin master
The general steps for Firebase is well-written during the Firebase Installation Guide for Android, so I will only be providing the information to fill in (those that aren't specified can be left to the defaults):
Project Name: BookIt
Billing Region: Singapore
Package Name: team.android.projects.com.bookit
App Nickname: BookIt
Debug signing certificate SHA-1: Follow these instructions to generate it
Detailed guides:
After setting up Firebase, navigate to the console and do the following:
- Under the
Authentication
tab, enable email address as the sign-in method - Under the
Database
tab, create aReal-time Database
(you will have to scroll down a little), and run it in test mode
- Look through the issues and pick one that you can manage. If you are a beginner, you can filter the
good first issue
tag so as to view the issues that are much more manageable for a beginner. - Find a feature/part of the code that you think can be improved or implemented an open an issue, I will take a look and if it is ideal, it will be approved and you can begin work on it.
- Documenting the code