This is a simple Library Management System built using Node.js, Express.js, EJS, and PostgreSQL. It allows users to add, edit, delete, and view books in his library; This project is a web application that allows users to manage their personal books collection, keep up with their own personal books, reviews and notes.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes:
- Clone this repository to your local machine.
- Create a new PostgreSQL database and update the .env file with the correctcredentials.
- Run npm install to install the necessary dependencies.
- Run npm start to start the application.
- Open your web browser and navigate to http://localhost:3000 to view the todo list.
- Add new books to the library
- Edit existing books in the library
- Delete books from the library
- View books in the library
- Node.js
- Express.js
- PostgreSQL
- EJS
- Sass
- Axios
- Body-parser
- Dotenv
- Clone the repository
git clone https://github.com/username/library-management-system.git
- Install the dependencies
npm install
- Create a .env file and add the following variables
DB_USER=<username>
DB_HOST=<host>
DB_PORT=<port>
DB_DATABASE=<database>
DB_PASSWORD=<password>
API_URL=<api_url>
- Run the application
npm start
- Express: A minimal and flexible Node.js web application framework.
- EJS: Embedded JavaScript templates for rendering dynamic content.
- Body-parser: Middleware for parsing incoming request bodies.
- Axios: a simple promise based HTTP client for the browser and node.js.
- Postgresql: open source object-relational database system that has earned it a strong reputation for reliability, feature robustness, and performance.
- Dotenv: Loads environment variables from a .env file into process.env.
Special thanks for the creators of Open Library Covers API Open Library Covers API.
Special thanks to the original author, amrmabdelazeem , for creating this project.