Bhavya0207 / Book-Pedia

This is a react web app that allows you to search for books and get information and links about them

Home Page:https://book-pedia.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a react web app that allows you to search for books and get information and links about them

This project was bootstrapped with Create React App.

Features

  • Auto search for thousands of books

  • Get information about the books

    • Title
    • Cover page
    • Description
    • Rating
    • Raters
    • Published Date
    • Authors

API Reference

Google Books api has been used for this project

Base url - https://www.googleapis.com/books/v1/

Get all items for the value

  GET /volumes?q=${searchValue}
Parameter Type Description
api_key string Required. Your API key
search_value string Required. Any Keyword

Get item

  GET /volumes/${id}
Parameter Type Description
api_key string Required. Your API key
id string Required. Id of item to fetch

Environment Variables

To run this project, you will need to add the following environment variables to your .env.local file

REACT_APP_API_KEY="YourAPIKeyHere"

Run Locally

Clone the project

  git clone https://github.com/Bhavya0207/Book-Pedia

Go to the project directory

  cd Book-Pedia

Create .env.local file in root

REACT_APP_API_KEY="YourAPIKeyHere"

Install dependencies

  npm install

Start the server

  npm run start

Build the project

  npm run build

Stop the development Server

Ctrl + C (same for Mac and Windows)

Tech Used

Client: React, Google Books API

About

This is a react web app that allows you to search for books and get information and links about them

https://book-pedia.netlify.app


Languages

Language:JavaScript 54.1%Language:CSS 34.8%Language:HTML 11.1%