Bookstore is a react web app built to show collections of books

Overview

BOOKSTORE APP

Bookstore is a react web app built to show collections of books, and give users access to add new books or remove existing book

Built With:

CSS

React

Redux

Axios

UUID

Live demo

NETLIFY

HEROKU

project setup

  • Cloning

$ git clone [email protected]:divinecharlotte/bookstore-app.git

  • Installing packages Run the install npm script to update packages:

  • $ npm install Create a production build

Run the build npm script to generate a static production build of your App:

  • $ npm run build Deploy Local

Run the start npm script to launch the app locally:

$ npm start

Testing

Run the test npm script to launch the test runner:

👤 Author

linkedIn: https://www.linkedin.com/in/charlotte-divine-dusenge-31b19017a/

GitHub: https://github.com/divinecharlotte

Show your support

Give a ⭐️ if you like this project!

Acknowledgement:

Big thanks to Microverse.

Hat tip to W3css and every website that trained me to code. etc.

Comments
  • connect to API

    connect to API

    IN THIS BRANCH I IMPLEMENTED THE FOLLOWING:

    1. I fetched the book list from Bookstore API on the Books page load.
    • I added an Action Creator, that returns a function.
    • I fetched a list of books.
    • I dispatched another action that will pass the API response to the reducer and update the state.
    1. I refactored my add book and remove book features to persist my changes in the server.
    • I changed my existing Action Creators, so they return functions.
    • I Made changes using API.
    • I dispatched an action that will updates the state accordingly. and finally, my Add book and remove book are working in the same way after the refactor.
    opened by divinecharlotte 0
  • use redux in react components

    use redux in react components

    IN THIS BRANCH I IMPLEMENTED THE FOLLOWING:

    • I changed the default state in my books reducer from an empty array to an array with a few books.
    • I imported Redux Provider and my store into the main component of my React app.
    • I connected my app to the Redux store. -I made my list of books displayed from the Redux store and I used useSelector to consume the state.
    • My component responsible for adding new books, I added functionality for the "Add new" button click: -I imported Redux useDispatch. -Set the data inputs in the local React state (set title and author ) -In my React component responsible for removing books, I added functionality for the "Remove" button click:
    • In my component responsible for categories, I added functionality for the "Check status" button click:
    opened by divinecharlotte 0
  • use  redux in react components

    use redux in react components

    IN THIS BRANCH I IMPLEMENTED THE FOLLOWING:

    • I changed the default state in my books reducer from an empty array to an array with a few books.
    • I imported Redux Provider and my store into the main component of my React app.
    • I connected my app to the Redux store. -I made my list of books displayed from the Redux store and I used useSelector to consume the state.
    • My component responsible for adding new books, I added functionality for the "Add new" button click: -I imported Redux useDispatch. -Set the data inputs in the local React state (set title and author ) -In my React component responsible for removing books, I added functionality for the "Remove" button click:
    • In my component responsible for categories, I added functionality for the "Check status" button click:
    opened by divinecharlotte 0
  • add reducers and actions

    add reducers and actions

    In this branch, I implemented the following:

    • I added Redux Toolkit npm install react-redux @reduxjs/toolkit

    • I structured my application files using a "feature folder" approach and I used the ducks pattern for my Redux files. my files/folder structure look like this:

    ... /src |---/components |---/redux |--- /books | books.js |--- /categories | categories.js | configureStore.js | index.js

    I wrote my book's actions and reducer (in /src/redux/books/books.js) using the ducks pattern.

    • I defined action types for adding and removing a book, I set the initial state to be an empty array of booksand exported Action Creators for my actions.
    • I wrote my reducer and exported it as default, I defined state changes for the actions that I created. In case of unknown action - returns the current state.

    I wrote my categories actions and reducer (in /src/redux/categories/categories.js) using the ducks pattern.

    • I defined an action type for checking the status,set the initial state to be an empty array of categories. and exported Action Creators for your actions.
    • I wrote my reducer and export it as default. For the check status action return a string "Under construction". In case of unknown action - returns the current state.

    Configure the Redux Store (/src/redux/configureStore.js):

    • I imported the necessary methods from Redux Toolkit and combined both reducers into a root reducer by using configureStore function.
    opened by divinecharlotte 0
  • set up the project with components

    set up the project with components

    In this branch, I implemented the following :

    • I created a directory for your components.
    • I added React Router and set two Route and Link for the app's navigation:

    Books route - the default view:

    • displays the list of books. -contains a component called Book for displaying a single book (receive a title and an author as a prop) and reused it in a component that displays a list of books. and have a form for adding a book. -I created a separate component for this form with inputs for a title and an author

    Categories route:

    • displays a button "Check status" only.
    opened by divinecharlotte 0
Owner
divine charlotte
Training to be a Full-Stack Software Developer with the love of Javascript, Open for collaboration, and looking for new opportunities.! 👍
divine charlotte
Bookstore app, store your favorites books. Built with JavaScript, React, SASS and framer.

Bookstore. Bookstore application built with REACT, JAVASCRIPT, and SASS. It lets you add and remove books. I also used motion library too create compl

Gabriel Rendon 5 May 4, 2022
The bookstore where you can store your best books that you read before. Built with React, Redux, and TailwindCSS.

Bookstore Project In this project, I set up my Bookstore project. It is about making a Bookstore with 2 section BOOKS and CATEGORIES (styles and funct

Arthur Guzman 3 Aug 28, 2021
The Bookstore is a website similar to the "Awesome Books" website already built with JavaScript

The Bookstore is a website similar to the "Awesome Books" website already built with JavaScript. It allows you to: Display a list of books. Add a book. Remove a selected book. By building this application, I learned how to use React and Redux.

Hamza Ellaouzi 8 Oct 29, 2021
Bookstore - a website similar to the Awesome Books website built in the previous module

The Bookstore is a website similar to the Awesome Books website built in the previous module. This MVP version allows you to: Display a list of books. Add a book. Remove a selected book. It is built with React, Redux, Javascript and CSS.

Chia Carlyle 4 Oct 4, 2022
The Bookstore is a website similar to the "Awesome Books" website built in the previous module.

The Bookstore is a website similar to the "Awesome Books" website built in the previous module.

Amrendra K 4 Jun 3, 2022
This is a React application for managing books you want to read. It tracks your progress and makes the reading the books enlisted as a goal. The project is built using HTML, CSS, JavaScript, React, and Redux.

This is a React application for managing books you want to read. It tracks your progress and makes reading the books enlisted as a goal. The project is built using HTML, CSS, JavaScript, React, and Redux

Henry Kc 10 Oct 17, 2021
Bookstore - A simple website to store all your favorite books. Created with React.js

Bookstore - A simple website to store all your favorite books. Created with React.js

Melanie Arellano 6 Jun 7, 2022
Bookstore CMS project based on React and Redux to display a list of books

This is a Bookstore CMS project based on React and Redux to display a list of books, categorize it, add and remove books and update your reading progress. It basically stores the added books and fetch the stored list of books using remote API.

Ali Aqa Atayee 7 Oct 30, 2022
A bookstore MVP that allows users to add, delete, and list available books

Bookstore It is a bookstore MVP that allows users to add, delete, and list available books. Features The website displays a bookstore user interface u

Gabriela Sánchez Espirilla 2 Mar 23, 2022
Visualize Big ERC721 Collections (9,999+ items) dynamically from the browser. An alternative to OpenSea or Rarible.

NFT Explorer https://ivanm.github.io/nft-explorer/ Visualize ERC721 NFT Collections directly from the blockchain. An alternative to OpenSea/Rarible, e

Iván Mayoral 10 Dec 20, 2022
BookCritiq is a web app for reviewing books. Built with React, Redux, JavaScript, and Bootstrap with a custom Rails API backend.

BookCritiq is a web app for reviewing books. Built with React, Redux, JavaScript, and Bootstrap with a custom Rails API backend.

Jessie Rohrer 5 Dec 20, 2021
Refactoring a MERN stack react based front end starter code with a fully functioning Google Books API search engine built with RESTful API to be built with GRAPHQL API with Apollo Server.

21_MERN_GoogleBookSearchEngine Task Refactoring a MERN stack react based front end starter code with a fully functioning Google Books API search engin

Dionne Noella 5 Apr 9, 2022
Bookstore app - built using React, Redux, and Styled Components

Bookstore is an app that allows you to display a list of added books, add new book and remove a book. It is built using React, Redux, and Styled Components

Anselem Odimegwu 11 Dec 12, 2022
Bookstore an app built with HTML, CSS, JavaScript, and React

The Bookstore is an app that displays a list of books and allows you to add and remove books from that list. Built with HTML, CSS, JavaScript, and React.

Roberto Andres Condezo Monge 8 Mar 12, 2022
Book store is a simple app built with React and Redux that allows you to view, add, and remove books

Book Store Book store is a simple app built with React and Redux that allows you to view, add, and remove books Explore the docs ???? · Live Demo Comi

Eze Promise 3 Aug 8, 2022
A web viewer for Anime Girls Holding Programming Books made using React, Chakra UI and Vite.

A web viewer for Anime Girls Holding Programming Books made using React, Chakra UI and Vite.

ashish 67 Jan 1, 2023
Bookstore - a project built with React redux, implemented with Ducks files structure and, React Router to interact between the different tabs of the project

Bookstore is a project built with React redux, implemented with Ducks files structure and, React Router to interact between the different tabs of the project. You can manage information of a book interact with an API.

Fernando Herrera 7 Mar 23, 2022
This is a front-end of an application that will help organize and manage the bookstore. It is so fast, dynamic and responsive to actions and it is built with React & Redux.

Bookstore This is a front-end of an application that will help organize and manage bookstore. It is so fast, dynamic and responsive to actions and it

Baraka Mukelenga 4 Aug 9, 2021
Bookstore is a simple online book store. It's built with React, Redux and Bootstrap

Bookstore Bookstore is a simple online book store. It's built with React, Redux and Bootstrap. It allows you to: Display a list of books. Add a book.

Dico Diaz Dussan 9 Jun 29, 2022