Skip to content

anglerfishlyy/personal-bookshelf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PERSONAL-BOOKSHELF

This project was bootstrapped with Create React App.

Personal Bookshelf

This is a React application allowing users to search for books using the Open Library API and maintain a personal bookshelf in the browser using localStorage.

Features

  • Book Search Page: Allows users to search for books using the Open Library API. Displays search results in real-time as the user types.
  • Personal Bookshelf Page: Enables users to add books from the search results to a "My Bookshelf" page. Stores the user's bookshelf persistently using localStorage.

Tech Stack & Styling

  • React: Developed using Create React App (CRA).
  • Styling: Utilizes CSS for styling. The project uses a grid layout for displaying book cards.
  • LocalStorage: Utilizes localStorage for persistently storing the user's bookshelf.
  • API Integration: Fetches book data from the Open Library API.

How to Set Up the Project Locally

  1. Clone this repository to your local machine.
  2. Navigate to the project directory in your terminal.
  3. Run npm install to install dependencies.
  4. Run npm start to start the development server.
  5. Open your browser and go to http://localhost:3000 to view the application.

Usage

  • Book Search: Type the name of the book you want to search for in the input field on the Book Search page. Results will be displayed in real-time.
  • Add to Bookshelf: On the Book Search page, click the "Add to Bookshelf" button on a book card to add it to your personal bookshelf.

Deployment

The project is deployed on github pages and can be accessed here.

Credits

This project was created by [kavya].

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published