The Book Note Website is a full-stack web application that allows users to store and manage books they have read. For each book, users can leave a review and assign a rating — making it a personal reading log and review system all in one.
- 📖 Add books you've read
- 📝 Write personal reviews for each book
- ⭐ Rate books on a scale (e.g., 1 to 5)
- 🔍 View a list of all stored books
- 🧐 Search for the book you have read before stored in the database
- 🧹 Edit or delete book entries
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript, EJS |
| Backend | Node.js, Express |
| Database | PostgreSQL |
| Version Control | Git, GitHub |
| Environment Variables | dotenv |
Before you begin, make sure the following are installed in your development environment:
- Node.js
- PostgreSQL
- (Optional) pgAdmin – GUI for PostgreSQL
⚠️ You can initialize your PostgreSQL database using the SQL file included in this repository.
git clone https://github.com/TingWai-85/book-notes.git
cd book-notesnpm installCreate a .env file in the root directory:
touch .envOpen the .env file and add the following variables (replace with your actual credentials):
PG_USER=your_db_username
PG_HOST="localhost"
PG_DATABASE="booknote"
PG_PASSWORD=your_db_password
PG_PORT="5432"Make sure PostgreSQL is installed and your database is set up with the matching credentials.
node index.jsThe app will be accessible at: http://localhost:3000
Watch the setup tutorial on YouTube.
- 🔐 Add user authentication (login, register)
- 📅 Track reading dates or reading time
- 📊 Dashboard for reading statistics
- 👥 Community for sharing the books
©2025 TingWai-85