A book-centric social platform that integrates reviews, AI-powered insights, and personalized recommendations.
- Website: http://40.81.200.89:5173
- Report: Google Docs Report
Build and launch the containers:
docker-compose up --build This starts two services:
- Frontend: Vue 3 app at
http://localhost:5173 - Backend: Actix Web HTTP server at
http://localhost:8080
-
Download datasets
Go to Amazon Books Reviews dataset on Kaggle and extract:
books_data.csvBooks_rating.csv
-
Place files in the project
Booklyn/database/construct_db/dataset/books_data.csv Booklyn/database/construct_db/dataset/Books_rating.csv -
Run database construction script
cd database/construct_db python constructdb.pyNote: please make sure packages pandas and psycopg2 are installed in your Python environment before running the commands above.
- Frontend: http://localhost:5173
- Backend: http://localhost:8080
- OpenAPI Doc: http://localhost:8080/swagger-ui/
API logic can be found in:
frontend/src/api/
Usage examples: frontend/src/generateDataFiles.js
Note: You usually don't need to fetch manually. Use mock data from:
frontend/src/data/
-
Add your OpenAI API key to
.env:OPENAI_API_KEY=your_key_here -
Run:
cd frontend source ../.env npm run generate:data
Booklyn/
├── backend/ # Actix Web + SQLx backend
│ └── src/
├── frontend/ # Vue 3 + Vite frontend
│ └── src/ # Frontend components and assets
├── database/
│ └── construct_db/ # DB setup scripts and dataset
└── docker-compose.yml # Docker service configuration