Skip to content

MuhammadJaafer/bookie

Repository files navigation

Bookie - E-commerce Website for Selling Books

Bookie is an E-commerce website designed to provide a seamless and user-friendly experience for buying and selling books online. It is built using TypeScript, React/Next.js, Redux, Firebase, SASS, Framer Motion, and Sanity. The project incorporates dynamic features, a headless CMS, and Google Analytics integration. Additionally, Bookie is optimized for mobile devices to ensure an optimal browsing experience.

Table of Contents

Features

Bookie offers the following features:

  1. User Registration and Authentication: Users can create accounts, log in, and manage their personal information securely.
  2. Book Catalog and Search: Browse and search for books using various criteria such as title, author, genre, or ISBN.
  3. Book Details: View comprehensive information about each book, including descriptions, cover images, ratings, and user reviews.
  4. Shopping Cart and Checkout: Add books to a shopping cart, review cart contents, and proceed to a secure checkout process.
  5. Payment Methods: Multiple payment options are available for users to complete their purchases, including credit/debit cards, digital wallets, and more.
  6. Cash on Delivery: Users can choose to pay for their orders using the cash-on-delivery method for added convenience.
  7. User Reviews and Ratings: Users can leave reviews and ratings for books they have purchased, helping others make informed decisions.
  8. Responsive Design and Cross-Browser Compatibility: Bookie is designed to provide an optimal browsing experience across different devices and browsers, ensuring consistent functionality and visual appeal.
  9. Security and Privacy: Bookie incorporates robust security measures to protect user data and ensure secure transactions.
  10. Usability and Accessibility: The website is designed with user-friendly interfaces and intuitive navigation, making it easy for users to browse, purchase, and interact with the platform. Accessibility features are implemented to ensure equal access for all users.
  11. Analytics and Reporting: Bookie integrates with analytics tools to provide valuable insights into user behaviour, sales performance, and other key metrics, enabling data-driven decision-making.

We hope these features enhance the functionality and usability of Bookie, providing a seamless and enjoyable experience for book lovers. If you have any further questions or need assistance, please don't hesitate to reach out. Happy selling and happy reading!

Technologies Used

The technologies employed in the development of Bookie are as follows:

  • TypeScript
  • React/Next.js
  • Redux
  • Firebase
  • SASS
  • Framer Motion
  • Sanity

Live Demo

Check out the live demo for Bookie: Live Demo

Getting Started

To get started with Bookie, follow the instructions below.

Installation

  1. Clone the repository: git clone https://github.com/your-username/bookie.git
  2. Change into the project directory: cd bookie
  3. Install the dependencies: npm install

Configuration

To configure Bookie, you need to provide the necessary environment variables. Create a .env file in the root directory of the project and add the following variables:

# Firebase configuration
FIREBASE_API_KEY=your_firebase_api_key
FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain
FIREBASE_DATABASE_URL=your_firebase_database_url
FIREBASE_PROJECT_ID=your_firebase_project_id
FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket
FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id
FIREBASE_APP_ID=your_firebase_app_id

# Sanity configuration
SANITY_PROJECT_ID=your_sanity_project_id
SANITY_DATASET=your_sanity_dataset

# Google Analytics configuration
GA_TRACKING_ID=your_google_analytics_tracking_id

Usage

To start the development server, run the following command:

npm run dev

This will compile the TypeScript code, bundle the React components, and start the server. You can access the Bookie application in your browser at http://localhost:3000.

Contributing

Contributions to Bookie are welcome! If you encounter any bugs, have feature requests, or want to contribute code, please feel free to open an issue or submit a pull request. Please follow the existing coding style and ensure that your changes are well-tested.

License

Bookie is released under the MIT License. You can find the full text of the license in the LICENSE file.


We hope you find Bookie helpful and enjoy using it for your E-commerce book business. If you have any questions or need assistance, please don't hesitate to reach out to our support team.

Happy selling and happy reading!