create a database named "book-inventory" in pgAdmin (i.e. Postgresql)
Now Follow query.sql to create a table named "books" with 5 columns id(SERIAL PK), isbn (VARCHAR(20), NOT NULL), title (VARCHAR(255)), description(VARCHAR(255)), rating(INTEGER)
npm i nodemon app.js
open "http://localhost:3000/"
Follow API: Open Library Covers ("https://openlibrary.org/") to add isbn of the book
Book Inventory is a responsive design project allowing users to perform CRUD operations, Store books with displayed book covers based on ISBN (International Standard Book Number) utilized with Open Library Covers API. Additionally, You can sort books by recently added or rating.
- JavaScript
- NodeJS
- ExpressJS
- EJS
- HTML, CSS
- API: Open Library Covers
- PostgreSQL
I recently completed a project called "Book Inventory," using PostgreSQL as my database. I improved my skills in JavaScript (NodeJS, ExpressJS, EJS), HTML, and CSS. Additionally, I utilized the Open Library Covers API for this project, which further enhanced my development capabilities.
-open terminal > type npm install
>type node app.js
> type in browser: http://localhost:3000
- Database:
⚠️ Note: Before running the application, make sure to runnpm install
to install the required dependencies.
- responsivness: