Purchasinganythingonlinegivesusersmoreconfidenceas theyenjoytheconvenienceofpurchasingfromtheirdevices. OnlinebookrentalsiteisquitesimilartoNetflix,apopular video renting service established in California. In India, online book rental is becoming more and more popular. According to the recent statistics India is world’s third largestmarketforbooksandwiththeonlinebookmarketit isassumedthatitwillgrow30 35%moreincomingyears
BookBeaisanonlinebookrentalsitebutitisnotownedbya centralauthority.Thebooksherebelongtotheuserswho aremembersofBookBeaandforsomeonewhoislookingfor somebookcanrequesttheuserwhoownsitforrent,andthe chat room help the two users to communicate. Generally, thesesiteshavebooksthatbelongtodifferentgenresbutfor someonelookingforsomestudymaterialrelatedtoschool andcollegeusershavetogotosomeshopthatsellssecond handbooks.BookBea triestoovercomethisproblemasit offersasectionwhereuserscanfindcoursebooksonrent. It’s also helps you keep track of the books that a user has rentedorofthebooksthatheowns.
3.3.1METHODOLOGYModuleDescription
n this instance. Each book’s edition and description are provided, giving the user a gist of what they are interested in buying or borrowing. A chat room feature is also integrated in the system enabling the user and lender to contact each other directly, giving the user the belief that the opposite end person is genuine. Apart from cash on delivery, an online payment gateway has been created to keep track of all the payments and protect the users from any kind of privacy issues.
Mostonlinebookrentalsitesaremanagedbysomecentral authoritywhichfacilitatesbookrenting.Allthebooksthata sitehasareowned bya singleentity and thendistributed fromthere.Thissystemismorelikeanonlinelibrarywhere userscanrentthebookfromthelibraryonline.Thisseems to be like any other online shopping platform the only differenceisherebooksaregivenonrent.
2. BACKGROUND
TheBookBeawebsitemajorlyconsistsof8modules.
Key Words: Nodejs,MongoDB,InteractiveWebApplication, BookManagementSystem,JWtoken,middleware.
1. INTRODUCTION
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page750 A Web-based Book Application using MongoDB & Nodejs Aishna Gupta1 , Anuska Rakshit2 , Mansi Raturi3 , Nishant Raj4, Pallavi Mishra5 1 5Vellore Institute of Technology, Vellore *** Abstract The main objective of this research paper is to placebookstorepreferencesvoraciousreadconstructsystemandexchange,BookBearequirementThefacilitybeforestudentsthoselikelibraries,overcomeswithdevelopawebapplicationforbibliophilesallaroundtheworldtheeaseofaclick.Thisonlineplatformnotonlytheneedofphysicallygoingtothebookstoresandbutalsoenablesuserstodevelopacommunityofmindedpeople.Moreover,italsoextendsitsservicestopreparingforvariouscompetitiveexams.Asvariousfinditfinanciallychallengingtobuymanybooksexams,thisplatformprovidesthemwiththebestofborrowingorlendingtextbooksorpracticepapers.borrowercanthuskeepthebookbasedontheinexchangeforaminimalamount.isabooklovers'platformwherepeoplecanshare,andsellbooksaccordingtotheirintereststastes.Onceauserlogsin,he/sheisregisteredintheandanewprofileiscreated,wheretheusermaytheirownbookshelfwithallthebookstheywanttoorswap.Ourideaisaimedtocatertotheneedsofreaderswhohaveawiderangeofreadingandoftenfindacquiringeachbookfromaquitecumbersome,thus,makingBookBeatherightforthemi
BookBeaisanonlinebookrentalwebsitewhichisbuiltwith an aim to provide users a user friendly experience while they rent a book. With the onset of the pandemic buying booksfromthestoresisatiresometaskformostandwith available online book sites users prefer to read books on theirphones,laptopsandtabs.Topreservetheexperienceof reading books the traditional way, our online book rental site provides users with wide variety of genres they can selectfromandalsoforpricelessthantheoneonstore. BookBeaprovidetheusersapersonalizedexperienceasit offersnotonlyarangeofbooksforrentbutalsoasection where the books that have been rented/borrowed are displayed.Oneusercanuploadasmanybooksastheywant on their account and these books are present on the bookshelfthatisthereonthesiteandbookscanbeadded andremovedfromtheshelf.Torentthebookoneuserhasto makerequest tothe otheruserfor a book thatthey want, thereisasectioninthesitewhichdisplaysalltherequesta usergetsforbookotherswantandtheusercanacceptthe request and rent the book. There is a real time chat room which enables the two users to contact each other and discussaboutthepayment,placeforbookpickupanddrop, knowtheconditionofthebook,etc.Thesitehasaportalfor paymentwhereusercanselectthemodetheywanttopay forthe book(likeCOD,netbanking,credit/debitcardand UPIs)
FigArchitecture1: EntityRelationshipDiagram
3.1.3 Add Books IntheAddBooksmodule,userswillbeabletoaddasmany booksastheywantintheirindividualportal.Thebookshelf ofoneuserwillnotinterferewiththebookshelfoftheother. Deletion of any existing book in the bookshelf can alsobe donebasedontheuser’schoice.
3.1.2 My Books MyBookspageonourwebsitecanbeeasilydescribedasthe availablebookssectioninalibrary.Thebookspresenthere can be borrowed, shared, or purchased as per the user’s wish.Inthismodule,theuserwillbeabletoviewthebook title,authorname,descriptionofthebook,thepublication yearandtheratingofthebook.Alltheseattributeshelpthe userselecttheappropriateone.
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page751
3.1.7 Chat Room
3.1.8 Payment Gateway
ThePaymentGatewaypageisthefinalpageonourwebsite. Thisiscreatedtodirecttheusertothepaymentportalfor instance netbanking,payorcreditcards.Oncethelender approvestheborrower'srequestofborrowinghisbook,the borrower will take him to the payment gateway through whichhe/shecanmakepaymentandgetthebookfromthe lender.Allthetransactionsaresavedinthedatabase.
3.1.1 Login Page
3.1.6 Books Borrowed In this module, the user will have a list of books he/she borrowed from the other users. This module is created to keepthetrackofborrowedbooksintheuser’sprofilesothat in any case if there exists a discrepancy between the borrowerandthelender,theycanverifyitfromourwebsite.
3.2 System
Fig 2: ProposedSystemDesign
Inthismodule,wecreatedaninteractivechatroomforthe userstoprovidethemwithasourceofinteraction.Themain purposeofthismodulerevolvesaroundmakingourusers trustthe borrowerorthelenderbeforesharingor buying the product. To avoid any cases of activities like fraud or theft we introduced this feature to get a proper understandingofthecustomerorthebuyer.Moreover,this chatroomwillhelpallthereaderstostayconnected,share theirthoughts,andwillaidincreatingareadingcommunity.
Aloginpageisawebpageorloginpagethatrequiresuser identificationandverification,usuallyusingacombinationof usernameandpassword.Signinginmaygiveyouaccessto theentirewebsiteorjustaportionofit.Logginginallows the website to track the user's activity and behavior in additiontogivingthemaccesstothesite.Removingaweb page or site can be done manually or can be done automaticallyincertainsituations(suchasclosingapage, shuttingdownacomputer,along timedelay,etc.)occur.An error notice will appear on the screen if the user fails to plungeinthecorrectinformation.
3.1.4 My Request In this module, users will have the Approve Request and YourRequestsection.IntheApproverequestsection,users will have the pending requests from the other users who wishedtoborrowtheirbooks.Iftheuserwantsto,he/she canapprovetherequestandcanletotherreadersreadhis bookbutiftheuserdoesn'twanttothenhecanrejectthe requesttoo.ThenintheYourRequestsection,theuserwill have a list of books he/she requested to borrow from the otherusers 3.1.5 Books Shared IntheSharedbooksection,theuserwillhavealistofbooks he/shesharedwithotherusers.Thismoduleiscreatedto trackthenumberofbookssharedbytheusertoanyother user.Adigitalproofremainswithboththeuserssothatthe usercanclaimhisbookincaseofanyunwantedbehaviour.
Thesystemtestingprocessaimedtodeterminealldefectsin our project. Our website was subjected to various sets of testsandthenobservationsweremadewhetherthewebsite isworkingasexpectedornot.Ifthereisanydefaultinthe working then all those were removed after the system testingprocess.
Fig 4: UnitTestingFlowchart
SystemTestingisasoftwaretestingthatisperformedona total integrated system to assess the consistency of the framework with the comparing prerequisites. Passed components of Integration testing are taken as input in Systemtesting.Systemtestinghelpsindetectingthedefects inbothintegratedandoverallsystems.
Integration test is the most common way of testing the connection point between two programming units or modules. It’sfocusedondeterminingthecorrectnessofthe Integrationinterface. Tests were implemented in the Architectural DesignPeriod.Testresultsweresharedtotheusersasthese results prove that the unit formed and verified independently can coexist and communicate among themselves.
Fig 6: UserAcceptanceTestingworkflow
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page752 Fig 3: DatabaseDesign
Inthissection, wehavediscussedthe resultswegotfrom our proposed system. These results will help us in concludingtheoverallaccuracy,usefulnessandefficiencyof Fig 5: StepsinvolvedinSystemTesting
5. EXPERIMENTAL RESULTS
4. EVALUATION METHOD
4.3. System Testing
4.4. User Acceptance Testing
UserAcceptanceTesting(UAT)isthefinalphaseoftesting whichisdoneafterunit,integration,andsystemtesting.In UATtestingisdonebytheenduserortheclienttocheckor acknowledge or accept the product framework prior to movingittotheproductionenvironment.UATdemonstrates thattheconveyedframeworkmeetstheclient'sneedandthe frameworkispreparedforuseintherealtimeworld.
4.2. Integration Testing
4.1. Unit testing Inourmodel,unittestplans(UTPs)weredevelopedinthe moduledesignphase.UnitTestingischaracterizedasakind ofprogrammingtestingwhereindividualpartsofaproduct aretried.InVModel,Unittestingisthefirstdegreeoftesting donebeforereconciliationtesting.Unittestingissuchasort of testing method that is typically performed by the Thedevelopers.objectiveofUnitTestingare: Tochecktheaccuracyofcode. Totesteveryfunctionandprocedure. Tohelpforcodereuse. Tofix errorsintheearlyphaseofthe projectand savethemoney.
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page753 our website. By these results we have summarized how computerizedworkismoreefficientthanmanualwork. Table 1: explainstheTestcases,systemrequirements, designspecifications,andfunctionalspecifications. Test Case PurposeTesting ConditionTesting OutcomesExpected ResultsActual Login passwordandusernametheChecks If user details are not correct, it will display the messageerror systemmainapplicabletoGrantaccessthe again.changehaddpasswortheforgetsuseralscredentilogincorrectionsubmissuponsystemintoullysucceUserssflogstheoforandto MyBooks Users are bookshelf.page,theabletoseehome Book title, notbookratingyearpublicationtheofdescriptionname,authorthebook,andtheofthearevisible Book title, userregisteredthebebookratingyearpublicationtheofdescriptionname,authorthebook,andtheoftheshouldvisibleto lf.booksheintdiffereneeselect/stoareUsersablebooksthe BooksAdd bookaddarethatEnsuringusersabletoanewor it’s copy on website.the If a copies.numberincreasesystemthenwebsite,existsalreadybookonthethewillitsof websitebookuploadsuccessfullybeUsershouldabletotheonthe arecopiesofnumberthenwebsite,onexistsalreadybooktheandbooktheutoareUsersableploadifthethe d.increase RequestMy userbyreceivedarerequestpendingandapprovalthatEnsuringthe not.requestapprovalrejectableIftheuseristotheor Users are able to otherrequestsableandrequestspendingapprovealsotosendtousers. srequestngapproviandusersothersrequestsendingareUserstotheiralso. SharedBooks shared.he/shebookstheuserthatToensurethehaslistof If any website.refreshrequestedarepage,SharedtheupissharedbooknotdatedonBooksuserstothe Users have othersharedbookstheproofoftousers. d.requireifpersonthecontactanduserstosharedbookofdetailsthecanUsersseetheothercan BorrowedBooks booksborrowedtheusertToensurehatthehaslistof If page.refreshrequestedarepage,BorrowedtheupdatedbookborrowedanyisnotonBooksuserstothe Keeps the track thebooksborrowedofforuser. them.contacttheythereancydiscrepanyandthemfothersedborrowbooksofdetailsthecanUsersseethebyromifiscan RoomChat website.ourloversycommuniticenthusiasthavethatToensureweanofbookon If a user wants to leave the chat option.thehe/sheroom,hasrequired websiteotherwithconnectarecodifferentfromBookloversuntriesabletoeachonour revealwanttheyuntilsafekepttioninformaprivateUsers'isto
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page754 tdifferenonreviewsshareandconnecttoareit.Usersablebooks. GatewayPayment accountusersntransactiosafeToensurefrom If messageanwillfailedpaymenttheisuserreceiveerror Users are able to pay safely for the books borrowed.they books.borrowtoullysuccessfwasthesafeweretionsTransacanduserable FromFig 7toFig 14illustratesthegraphicalinterfaceofour application. Fig 7: Login/SignInPage Fig-8: AddBookPage Fig 9: BookshelfPage Fig 10: MyRequestPage
Fig 16: BooksDatabaseofindividualusers
our
bookshelf
Adatabaseisusedtostoremanytypes the database is built to allow users to modify, and atanymoment. 15andFig 16 displays the of users accessing system and the presentinthe ofindividualusers.
Themodelthatweproposedfortheprojectwastobuilda website that has a user friendly interface which makes it easyfortheusertouseitandaccesstheinformation.The built inchatroomwouldhelpthereadersstayconnectedto each other and make a reading community of their own where like minded people can share and exchange ideas alongwiththeirfavouritebooks.Thewebsitewouldhelpall thebibliophilestoreadasmanydifferentbooksastheywant withoutworryingaboutspendingmoney.Theydon'thaveto wastetheirtimeontheinternettoknowthereviews,ratings
books
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page755 Fig 11: SharedBooksPage Fig 12: BorrowedPage Fig 13: ChatroomPage Fig 14: PaymentPage
record
offilesinthesystem. Although
adddocuments
delete,
Fig 15: User’sDatabase
6. CONCLUSION
Fig
[1] Tsega Weldu Araya, Ass. Pro. Adhana Mengsteab, “Designing Web based Library Management System,” InternationalJournalofEngineeringResearch&Technology (IJERT),2020,9,(10) [2] Namburi Sai Naga Lakshmi Prasanna, B.N.Srinivasa Gupta,“ONLINELIBRARYMANAGEMENTSYSTEM,”Journal ofEmergingTechnologiesandInnovativeResearch,2020,9, [3](1)Ms.PragatiBagmare,Ms.ShraddhaGirhepunje,Ms.Priya Bisen, “Research Paper on Online Bookshop Management System,” International Journal for Research in Applied Science&EngineeringTechnology(IJRASET),2017,5,(4) [4]TaoTao,NingliWang,HaiboLu,“AnalysisandDesignof Online Bookstore System,” Information and Business Intelligence.IBI2011,2012 [5] Hezbullah Shah, Tariq Rahim Soomro, “Node Is ChallengesinImplementation,”GlobalJournalofComputer ScienceandTechnology,2017,17,(2) [6] PaulBenjaminLowry,TaylorMichaelWells,GregMoody, SeanHumpherys,DeganKettles,“OnlinePaymentGateways UsedToFacilitateE CommerceTransactionsAndImprove RiskManagement,”CommunicationsofAIS,2006,17,(2) [7] Gangadhar Sajjanar, Akram Pasha, “A Critical Study: Secure Gateway in Payment System for Electronic Transaction,”InternationalJournalofScienceandResearch (IJSR),2014,3,(3) [8] A.Thendral Mary, S.Ramya, Mr.S.Krishna Murthy, Dr.A.Valarmathi,“EnhancedLibraryManagementSystem,” InternationalJournalofCreativeResearchThoughts(IJCRT), 2017,5,(4) [9]Xia MengSi,Y.Liu,“Influenceofinternetchatroomson network public opinion,” Journal of Internet Technology, 2011,12,(3) [10] Cornelia GYŐRÖDI, Robert GYŐRÖDI, George PECHERLE,AndradaOLAH,“AComparativeStudy:MongoDB vs.MySQL,”ConferenceonEngineeringofModernElectric Systems,2015 [11]A.Calanducci,C.Cherubino,L.N.Ciuffo,M.Fargetta,D. Scardaci,“ADigitalLibraryManagementSystemforGrid,” Conference: Enabling Technologies: Infrastructure for CollaborativeEnterprises,2007 [12]ReneeGarett,MS,LCSW,1JasonChiu,MS,LyZhang,and Sean D. Young, “A Literature Review: Website Design and UserEngagement,”OnlineJCommunMediaTechnol,2016,6, (3)
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056 Volume: 09 Issue: 01 | Jan 2022 www.irjet.net p ISSN: 2395 0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page756 of the book as our website will be giving honest opinions aboutthebookandfeedbackfromdifferentreaders.Incase ofsecondthoughts,theusercanputamessageinthechat room and directly contact other readers to know their experience. Our project targets avid readers who have a wide variety of tastes in books and students who wish to exchangetheirpreviousbooksforotherreferencematerials. Thepromisingexperimentalresultsprovethattheportalis user friendlyandenablestheusertolendandborrowbooks withoutanyhassleinmereseconds. AfutureenhancementwouldbetoaddGPStoourwebsiteto makeitmorereliableanduser friendly,addingadatabaseto the payment portal, and adding filters in the bookshelf sectionwhichwouldresultinabetteruserexperience.
REFERENCES