git clone https://github.com/mohanadft/book-store.git # Clone the Repo
cd book-store # Go inside the package
npm install # Install DependenciesAfter the Installation process above, run the following command to see if test cases are passed:
npm run testEnsure that port 3000 is not used by other programs and run the following command:
npm run start:devNow, You can visit localhost:3000
GET /book/search
Query Parameters:
id(optional) Must be anumbertitle(optional) Must be astringauthor(optional) Must be astringcategory(optional) Must be astringprice(optional) Must be anumberdate(optional)
Example: /book/search?price=40&date=2009-04-01 OR /book/search?category=Java&date=2009
You can visit and test the project online through this link 🎉
