Coder Social home page Coder Social logo

bookhub-test's Introduction

Books Manager Application

Welcome to the Books Manager application! This application allows you to manage a collection of books. You can create, update, and delete books using the form and buttons available. Additionally, you can filter the book list based on various criteria like title, author, genre, and publication date.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/misskukuua/bookhub-test.git
    cd books-manager
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm start

    Usage

  • Creating a Book: Fill in the details in the "Create a Book" form and click the "Create Book" button.
  • Updating a Book: Click the edit icon next to a book in the list, modify the details in the "Update a Book" form, and click the "Update Book" button.
  • Deleting a Book: Click the delete icon next to a book in the list.
  • Filtering Books: Use the filters provided in the "Book Filter" section and click the "Apply Filters" button to view the filtered list of books.

Features

  • Create, Update, and Delete Books: Manage your book collection with ease.
  • Filter Books: Filter the book list based on title, author, genre, and publication date.
  • Responsive Design: Optimized for both desktop and mobile views.

API

This application interacts with a backend API to manage books. Below are the main API functions used:

  • getBooks(): Fetches all books from the API.
  • createBook(data): Creates a new book with the provided data.
  • updateBook(id, data): Updates the book with the specified ID using the provided data.
  • deleteBook(id): Deletes the book with the specified ID.

Contributing

To contribute:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Make your changes and commit them:
    git commit -m "Add your feature description"
  4. Push to the branch:
    git push origin feature/your-feature-name
  5. Open a pull request on GitHub.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.