/react-bookstore

The page has the functionality to fetch books from the server, add new books and even delete books from the server. It consists of 2 pages, Books as the main page, and Categories as a page currently under construction, with working routing in place.

Primary LanguageJavaScriptMIT LicenseMIT

logo

📗 Table of Contents

📖 Bookstore

This is my Microverse Bookstore site, created with React + Vite, React Router, Redux and CSS. The page has the functionality to fetch books from the server, add new books and even delete books from the server. It consists of 2 pages, Books as the main page, and Categories as a page currently under construction, with working routing in place.

Design was based on the given mock-up, only given Desktop version and the task was to recreate it as close as possible.

🛠 Built With

Tech Stack

React + Vite
React Router
Redux
Redux Toolkit
CSS
GitFlow

Key Features

  • React + Vite
  • React Router
  • Redux Toolkit
  • GitFlow

(back to top)

🚀 Live Demo

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • Code editor
  • Node

Setup

Clone this repository to your desired folder by opening the terminal and running the following command:

  git clone git@github.com:hajnaloltyan/react-bookstore.git

Install

Install this project with:

  npm install

Usage

To run the project use the following command:

  npm run dev

Run tests

To run tests, run the following commands:

For CSS linter errors:

  npx stylelint "**/*.{css,scss}"

For ESLint linter errors:

  npx eslint "**/*.{js,jsx}"

Deployment

Deployed by GitHub Pages with command:

  npx run deploy

(back to top)

👥 Authors

👤 Hajnalka Oltyan

(back to top)

🔭 Future Features

  • To create different categories for the books
  • Add more functionality and additional pages

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

(back to top)

⭐️ Show your support

If you like this project please leave a star and a comment.

(back to top)

🙏 Acknowledgments

I would like to thank Microverse to have this opportunity, and also thank you the code review team.

(back to top)

📝 License

This project is MIT licensed.

(back to top)