A library management system with the following features
- Add authors
- Add books
- Search library based on book author
- Search library based on book name
- Search library based on both author and book name
Tech stack required to run the app.
- NodeJS - runtime
- MongoDB - database
It is assumed that you have these components setup already.
- Clone the repo
git clone https://github.com/vixen24/My-Library.git
- Install npm packages
npm install
- Create a .env file in the root folder and assign database connection string
DATABASE_URL=mongodb://localhost:27017
- Run the app
npm start
The app allows users to manage an online book library and has the following features
- Add/Edit an author
- Add/Edit a book
- View library catalog
The structure of the app is monolithic.
The below packages were used.
- EJS template - to generate templates
- EJS view engine - to render web pages using EJS template files