The Book Tracker App is a web application built using Express, Pug, and PostgreSQL. It allows users to manage their book collections, including creating, editing, and deleting collections, as well as adding and removing books from these collections. It also allows them to manage individual books.
- Express.js
- Node.js
- PostgreSQL
- Download the zip file
- Install dependencies:
npm install
- Create PostgreSQL database named booktracker. From terminal run this command to create tables.
psql -d booktracker -f schema.sql
To add sample data for users table run this command from terminalpsql -d booktracker < ./lib/users.sql
. To add sample data for books and collections tables run this command from terminalpsql -d booktracker < ./lib/seed-data.sql
.
4.The password for all provided users is 1234.
- Run the application:
npm start
- App was mainly tested in the Brave browser
- The version of Node used was v18.16.1
- The version of npm used is 9.7.2
- psql (PostgreSQL) version 12.16 (Ubuntu 12.16-0ubuntu0.20.04.1) was used for relational database
- User authentication for secure access to book management.
- CRUD operations for both book collections and individual books.
- Pagination for efficient data display.
- Use of flash messages to display relevant messages to users.
- Input validation and error handling.
- Password encryption for user authentication security.
- Consistent sorting for all books and collections.
- Navigate to the sign-in page and log in.
- Explore and manage your book collections on the dashboard.
- Add, edit, and delete collections or individual books.
- Deleting a collection doesn't delete the books, it just removes the book from the collection.
- Deleting a book is accomplished from the myBooks page.
Devin