Deployed at https://pro0217-bookrecommender.onrender.com/ using Render
Your local library simulation app, here for all your book recommendation needs!
- Book recommendations based solely on your input, no prompts barred. Fukuyama fan? No problem. Visiting Vienna next month and need a heads-up on tourist traps? We've got you. A aeroplane afficionado with a penchant for Pepper Jack cheese? You've come to the right place.
- A personal reading list, curated by your own good self by liking books our resident librarian Oskar brings back.
- Smart recommendations generated based on the content of your reading list.
- "Friends" feature, allowing you to add other users as friends (and snoop(y) on their reading lists too!)
- A personal inbox, informing you of new friend requests received and keeping you updated on the status of friend requests you have sent.
- Backend: Node.js with Express
- API Integration:
- OpenAI API for book recommendations
- Google Books API for book covers
- "Database": local JSON file served by JSON-Server
- Data (User ID) Persistence: localStorage object
- Input Validation: Zod schema validation
- Quick, clone the repository!
git clone https://github.com/yourusername/Pro0217-BookRecommender.git
- Install all those dependencies...
npm install
- Create a
.env
file for your OpenAI API key, very important!
OPENAI_KEY=your_openai_api_key
- Check you've got an ample supply of Jacob's cream crackers...
npm run have-we-forgotten-the-crackers
- Fire up the server!
npm run start
- Navigate to a browser of your choosing, sit back and enjoy the ride! 😁
See the full API documentation here.
Happy reading! Oskar 🐾