Skip to content

This repository contains the **Book Order System** that allows users to view, order, and manage books. It features book details display, order management, and user authentication. Built with **React**, **React Bootstrap**, and **Firebase** for backend operations.

Notifications You must be signed in to change notification settings

farman20ali/Firebase-Bookify-React-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firebase-Bookify-React-App

Project Overview

The Book Order System is an application that allows users to view book details, place orders, and manage their orders. Built with React, this application interacts with Firebase to store and retrieve book information and order details. Users can securely log in, view available books, and place orders for books they wish to buy.

Key Features

  • Book Listing: Display a list of available books with details like price, ISBN, and image.
  • Book Detail Page: View detailed information about each book.
  • Order Management: Users can place orders for books and manage existing orders.
  • User Authentication: Secure login for users to access their order history and details.
  • Firebase Integration: All data, including book details and orders, are stored in Firebase Firestore.

Technologies Used

  • Frontend: React, React Bootstrap
  • Backend: Firebase (Firestore, Firebase Authentication)
  • State Management: React useState, React Context API
  • Routing: React Router

Setup Instructions

Prerequisites

  • Node.js (v14+)
  • npm or yarn
  • Firebase Project: You must set up a Firebase project to use Firestore and Firebase Authentication.

Installing Dependencies

  1. Clone the repository:

    git clone https://github.com/yourusername/book-order-system.git
  2. Navigate to the project folder:

    cd book-order-system
  3. Install the dependencies:

    npm install
    # OR
    yarn install
  4. Set up Firebase configuration:

    • Create a Firebase project.
    • Enable Firebase Authentication and Firestore.
    • Add your Firebase configuration in .env or the appropriate configuration files.

Running the Application

For the web:

npm start
# OR
yarn start

Project Structure

  • /src
    • /components: Reusable components such as book cards, buttons, etc.
    • /context: Firebase context for managing global state.
    • /pages: Pages like book list, order details, etc.
    • /services: Firebase services (book fetching, order handling).
    • /utils: Helper functions.

Contributing

We welcome contributions to improve the project. Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Make your changes and write tests where applicable.
  4. Open a pull request with a description of your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Future Enhancements

  • Search and Filter: Add functionality to search and filter books by various criteria.
  • User Order History: Allow users to view and manage their order history.
  • Cart System: Implement a cart system where users can add multiple books before placing an order.

Acknowledgements

  • Firebase for backend services and user authentication.
  • React Bootstrap for UI components.
  • React Router for page navigation.

---

This **README.md** format is designed to give users a comprehensive overview of the project, including setup instructions, features, and future enhancements. It also includes a clear structure for collaboration and contributing to the project.

About

This repository contains the **Book Order System** that allows users to view, order, and manage books. It features book details display, order management, and user authentication. Built with **React**, **React Bootstrap**, and **Firebase** for backend operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published