/csharp-cli

Book recommender command-line application.

Primary LanguageC#

C# Command Line Book Recommender

A brief command line app I built to learn C# and the MongoDB C# Driver. This project is adapted from Book Recommender, a similar project with more of a data science flavor which has a web app to accompany it.

Use

Clone the repo and run

cd BookRecommender
dotnet run

with MongoDB running on your computer. Replace the connectionUri here if you have changed your local MongoDB port from the default.

Follow the prompts, inputting your name and populating the database with the books. Then, get recommended books using the 'f' action or update your read books to avoid getting them recommended using the 'u' action. To quit the app, use 'q'. To clear your read books, reboot the app and enter 'y' in the opening command that asks if you want to reset the database.

Data

The data for this application is sourced from the "Goodbooks 10k Extended" repository, using the books_enriched.csv file. This file contains 10,000 records of book data from Goodreads, as of September 2017. Irrelevant columns were removed and the CSV file was cleaned and converted to JSON before being inserted to the database.