BookBuddy is a CLI-based desktop app that is targeted towards users who prefer the CLI to efficiently keep track of the books that they have read or intend to read. BookBuddy targets casual readers who read for entertainment but not on a regular basis, avid readers who have a huge collection of books and profession/critical readers who read scholarly journals and papers for research and work.
BookBuddy provides a one-stop solution for building a personalised reading repository,is optimised for users who are quick at typing for efficient retrieval of book details and seeks to enable a customisable user experience to enhance the overall reading experience.
The program was created using Java. Version control was done using Sourcetree and Git.
Prerequisites: JDK 11 (use the exact version), update Intellij to the most recent version.
- Ensure Intellij JDK 11 is defined as an SDK, as described here -- this step is not needed if you have used JDK 11 in a previous Intellij project.
- Import the project as a Gradle project, as described here.
- Verify the set up: After the importing is complete, locate the
src/main/java/seedu/bookbuddy/BookBuddy.javafile, right-click it, and chooseRun BookBuddy.main(). If the setup is correct, you should see something like the below:Read the user guide for the features available and use the programme!> Task :compileJava > Task :processResources NO-SOURCE > Task :classes > Task :BookBuddy.main() ___________________________________ Hello from BookBuddy! How can I help you today? _____________
- This project uses Gradle for build automation and dependency management. It includes a basic build script as well (i.e. the
build.gradlefile). - If you are new to Gradle, refer to the Gradle Tutorial at se-education.org/guides.
- To run I/O redirection tests (aka Text UI tests), navigate to the
text-ui-testand run theruntest(.bat/.sh)script.
- A skeleton JUnit test (
src/test/java/seedu/duke/DukeTest.java) is provided with this project template. - If you are new to JUnit, refer to the JUnit Tutorial at se-education.org/guides.
- A sample CheckStyle rule configuration is provided in this project.
- If you are new to Checkstyle, refer to the Checkstyle Tutorial at se-education.org/guides.
The project uses GitHub actions for CI. When you push a commit to this repo or PR against it, GitHub actions will run automatically to build and verify the code as updated by the commit/PR.
/docs folder contains a skeleton version of the project documentation.
Steps for publishing documentation to the public:
- If you are using this project template for an individual project, go your fork on GitHub.
If you are using this project template for a team project, go to the team fork on GitHub. - Click on the
settingstab. - Scroll down to the
GitHub Pagessection. - Set the
sourceasmaster branch /docs folder. - Optionally, use the
choose a themebutton to choose a theme for your documentation.