Skip to content

A book review website built with Express on NodeJS.

Notifications You must be signed in to change notification settings

Bakkopi/book-review-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Booklüb — A Book Review App

Overview

Welcome to Booklüb! A book review blog built with Express on NodeJS.

  • Full-stack project incorporating EJS templating, CSS styling, and jQuery.
  • Integration with Google Books API to fetch book covers and data.
  • Utilizes PostgreSQL for persistent data storage.

Screenshots of Booklüb website

Capstone project for Angela Yu's Complete Web Dev Bootcamp course on Udemy.

Prerequisites

Versions of tools used for this project:

  • NodeJS - v20.15.0
  • NPM (Node Package Manager) - v10.8.1
  • PostgreSQL - v16.3

Setup Instructions

  1. Configure PostgreSQL: Ensure Postgres database is installed and running on your local machine.

  2. Initialize Database: Run the setup.sql script to create the necessary table and dummy data.

psql -U your_username -d your_database -f setup.sql
  1. Configure Environment Variables: Set up database connection parameters in a .env file (refer to .env.sample)
DB_USER="pgUsername"
DB_HOST="localhost"
DB_NAME="bookDB"
DB_PW="strongPassword!"
DB_PORT=5432
  1. Install Dependencies: Run npm install to setup the required Node.js dependencies for the application

  2. Run the Application: Use the following command to run the application.

node --env-file=.env app.js
  1. Access the Application: Head to http://localhost:3000/ to access the website.

About

A book review website built with Express on NodeJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published