https://github.com/tingwai-85/book-notes
A personal book log app with reviews and ratings built using Node.js, Express, and PostgreSQL.
https://github.com/tingwai-85/book-notes
backend book-review book-tracker ejs expressjs frontend fullstack nodejs postgresql reading-log web-app
Last synced: 3 months ago
JSON representation
A personal book log app with reviews and ratings built using Node.js, Express, and PostgreSQL.
- Host: GitHub
- URL: https://github.com/tingwai-85/book-notes
- Owner: TingWai-85
- License: mit
- Created: 2025-06-23T08:34:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-04T08:04:12.000Z (12 months ago)
- Last Synced: 2025-08-01T11:32:55.746Z (11 months ago)
- Topics: backend, book-review, book-tracker, ejs, expressjs, frontend, fullstack, nodejs, postgresql, reading-log, web-app
- Language: CSS
- Homepage: https://www.youtube.com/watch?v=vx5v4JAE2as
- Size: 58.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ Book Note Website






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.
---
## ๐ Features
- ๐ 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
---
## ๐ ๏ธ Tech Stack
| Layer | Technology |
|------------|--------------------------------|
| Frontend | HTML, CSS, JavaScript, EJS |
| Backend | Node.js, Express |
| Database | PostgreSQL |
| Version Control | Git, GitHub |
| Environment Variables | dotenv |
---
## ๐ Getting Started
Before you begin, make sure the following are installed in your development environment:
- **[Node.js](https://nodejs.org/en/download)**
- **[PostgreSQL](https://www.postgresql.org/download/)**
- (Optional) **[pgAdmin](https://www.pgadmin.org/download/)** โ GUI for PostgreSQL
> โ ๏ธ You can initialize your PostgreSQL database using the SQL file included in this repository.
---
### 1. Clone the Repository
```bash
git clone https://github.com/TingWai-85/book-notes.git
cd book-notes
```
### 2. Install Dependencies
```bash
npm install
```
### 3. Set Up Environment Variables
Create a .env file in the root directory:
```bash
touch .env
```
Open the .env file and add the following variables (replace with your actual credentials):
```env
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.
### 4. Run the App
```bash
node index.js
```
The app will be accessible at: http://localhost:3000
---
## ๐ฅ Video Tutorial
Watch the setup tutorial on [YouTube](https://www.youtube.com/watch?v=vx5v4JAE2as).
---
## ๐ง Future Enhancements
- ๐ Add user authentication (login, register)
- ๐
Track reading dates or reading time
- ๐ Dashboard for reading statistics
- ๐ฅ Community for sharing the books
---
## ๐จโ๐ป Author
ยฉ2025 TingWai-85