waleedkhano / MyLibrary

MyLibrary πŸ“š is a modern library management web app built with React.js, πŸ” Auth0 for authentication, πŸ“– Google Books API for book data, and styled with 🎨 Tailwind CSS for a delightful user experience.

Home Page:https://mylibrary01.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyLibrary πŸ“š

MyLibrary is a modern and user-friendly library management web application built with React.js, Vite, Tailwind CSS, and powered by the Google API for fetching book data. It also incorporates Auth0 for secure authentication and session management, Font Awesome icons for styling, Axios for API calls, React Infinite Scroll for lazy loading, Toastify for notification messages, and react-autocomplete for search suggestions.

MyLibrary-Demo.mp4

πŸ”— Live Link

Table of Contents

Tech Stack πŸ› οΈ

  • Vite - Fast React.js build tool.
  • React.js - JavaScript library for building user interfaces.
  • Tailwind CSS - A utility-first CSS framework for fast and customizable styling.
  • Google Books API - Used as the endpoint for book data.
  • Auth0 - Authentication and session management.
  • Font Awesome - Icon library for styling.
  • Axios - Promise-based HTTP client for API calls.
  • React Infinite Scroll - Infinite scrolling component for efficient pagination.
  • Toastify - React notification library for user feedback.
  • react-autocomplete - React component for search suggestions.
  • Vercel - Deployment platform for hosting web applications.

Features βœ…

  • An aesthetically pleasing and optimized loading animation.
  • New user signup and login, using Proper authentication and sessions (Sign in with social media, Email and mobile number verification gets extra brownie points).
  • Users can see the list of books, preferably using an actual endpoint (API) as a data source for books.
  • Instead of loading all the results on the page, perform an optimized pagination (infinite scrolling with lazy loading).
  • A well-built search bar, with suggestions (like Google Search, YouTube) that suggests and searches based on all the fields like Book name, Author name, Genre, Year of publishing, etc.
  • An exclusive way of indicating the availability of the books, and the number of available copies, along with the previously mentioned fields.
  • Users can filter and sort the list of books based on Title, Author, Subject, and Publish - date.
  • Show the count of books upon every search results and upon every filtering.
  • Implement a cart feature, upon adding books to the cart, the user will be able to check out and rent them. This should reflect in the availability and number of copies fields.

πŸ“¦ Project Dockerization

To run RepoSavant in a Docker container, follow these steps:

  1. Clone this repository.
  2. Build the Docker image:
docker build --pull --rm -f "Dockerfile" -t mylibrary:latest
  1. Run the Docker container:
docker run --rm -d  -p 8080:8080/tcp mylibrary:latest

Getting Started πŸš€

Follow these steps to set up, run, and deploy MyLibrary on Vercel:

  1. Clone the repository:
git clone https://github.com/suryanshsingh2001/MyLibrary.git
cd client
  1. Install Dependencies when in client Directory
npm install
  1. Configure environment variables: Create a .env file and provide the necessary API keys and Auth0 credentials.
VITE_REACT_APP_GOOGLEBOOK_API_KEY=YOUR_GOOGLEBOOK_API_KEY

VITE_REACT_APP_AUTH0_DOMAIN=YOUR_AUTH0_DOMAIN
VITE_REACT_APP_AUTH0_CLIENT_ID=YOUR_AUTH0_CLIENT_ID

  1. Start the development server:
npm run dev
  1. Open your browser and access http://localhost:5173.

  2. Deploy on Vercel:

  • Sign up for an account on Vercel.
  • Follow Vercel's deployment instructions to connect your GitHub repository and deploy your app.

Contributing 🀝

We welcome contributions from the community! Whether you are a developer, designer, writer, or enthusiast, there are many ways to get involved. Check out our Contributing Guidelines to learn more about how you can contribute.

Code of Conduct πŸ“œ

Please review our Code of Conduct to understand the expectations for behavior within our community.

Hacktoberfest Contribution πŸŽƒ

MyLibrary actively participates in Hacktoberfest, an annual celebration of open-source contributions. Here's how you can join the Hacktoberfest fun with us:

  1. Look for issues labeled as Hacktoberfest in our GitHub issue tracker. These are specially curated issues for Hacktoberfest contributors.

  2. Contribute to these issues by following the guidelines mentioned in each issue. You can work on bug fixes, features, or enhancements.

  3. Submit your pull request (PR) with your contribution. Our team will review your PR and provide feedback.

  4. Once your PR is merged, it will count towards your participation in Hacktoberfest. Plus, you'll be helping us improve MyLibrary!

Security πŸ”’

The security of MyLibrary is important to us. If you discover any security vulnerabilities, please review our Security Policy for reporting guidelines.

Feedback πŸ’¬

We value your feedback and suggestions. Whether you have ideas for new features, bug reports, or general feedback, please visit our Feedback Section to share your thoughts.

License πŸ“

MyLibrary is open-source software licensed under the MIT License.


"Let's write the next chapter together!" πŸ“πŸŒŸ Happy coding and happy reading! πŸ“šπŸš€

About

MyLibrary πŸ“š is a modern library management web app built with React.js, πŸ” Auth0 for authentication, πŸ“– Google Books API for book data, and styled with 🎨 Tailwind CSS for a delightful user experience.

https://mylibrary01.vercel.app/

License:MIT License


Languages

Language:JavaScript 89.0%Language:HTML 9.7%Language:CSS 0.9%Language:Dockerfile 0.4%