Skip to content

A modern e-commerce platform built with React, TypeScript, and Tailwind CSS featuring smooth animations, responsive design, and Azure cloud deployment.

License

Notifications You must be signed in to change notification settings

nenad0707/Bolt-Market

Repository files navigation

πŸš€ Deploy Bolt Market App

πŸ›’ Bolt Market - Modern E-Commerce Platform

React TypeScript Vite TailwindCSS Framer Motion Azure

Bolt Market is a modern, responsive e-commerce platform built with React, TypeScript, and Tailwind CSS. Featuring smooth animations powered by Framer Motion, Bolt Market offers an intuitive shopping experience with a clean, user-friendly interface.

πŸ“‹ Table of Contents

✨ Features

  • 🏠 Interactive Homepage: Engaging hero section with animated elements
  • πŸ›οΈ Product Catalog: Browse products with filtering by category and search functionality
  • πŸ›’ Shopping Cart: Add, remove, and update item quantities in real-time
  • πŸ“Š Statistics Display: Animated counters showcasing key metrics
  • πŸ‘₯ Customer Testimonials: Carousel of customer reviews with smooth animations
  • πŸ“± Fully Responsive: Optimized for all screen sizes with a mobile-first approach
  • πŸŒ— Smooth Page Transitions: Seamless navigation between pages using Framer Motion
  • πŸ“‹ Contact Form: Easy-to-use contact form for customer inquiries
  • πŸ” About Page: Company information with mission and vision statements
  • ⬆️ Back to Top Button: Convenient one-click scroll to top functionality

πŸš€ Live Demo

Bolt Market Demo

Deployment is managed through Azure Static Web Apps and GitHub Actions.

πŸ–ΌοΈ Screenshots

🏠 Homepage

Homepage

πŸ›οΈ Products Page

Products

πŸ›’ Shopping Cart

Cart

πŸ“ About Page

About

πŸ“ž Contact Page

Contact

πŸ› οΈ Tech Stack

  • Frontend Framework: React 18
  • Programming Language: TypeScript
  • Build Tool: Vite
  • Styling: Tailwind CSS
  • Animations: Framer Motion
  • Routing: React Router DOM v7
  • Icons: Heroicons, React Icons
  • Notifications: React Toastify
  • Deployment: Azure Static Web Apps
  • Infrastructure as Code: Bicep (Azure)
  • CI/CD: GitHub Actions

πŸ“ Project Structure

bolt-market/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/       # Images and static assets
β”‚   β”œβ”€β”€ components/   # Reusable UI components
β”‚   β”œβ”€β”€ context/      # React context (Cart state)
β”‚   β”œβ”€β”€ data/         # Static data (products)
β”‚   β”œβ”€β”€ pages/        # Page components
β”‚   └── App.tsx       # Main application component
β”œβ”€β”€ public/           # Public assets
β”‚   └── images/       # Product images
β”œβ”€β”€ infrastructure/   # Azure deployment resources
β”‚   β”œβ”€β”€ main.bicep    # Bicep template
β”‚   └── setup-boltmarket.ps1 # Azure setup script
└── .github/workflows # GitHub Actions CI/CD

🧩 Core Components

  • Navbar: Responsive navigation bar with animated mobile menu
  • Hero: Eye-catching homepage hero section with parallax effects
  • ProductList: Filterable, searchable product grid
  • ProductCard: Individual product display with add-to-cart functionality
  • CartPage: Interactive shopping cart with quantity controls
  • AnimatedRoutes: Page transition animations
  • Testimonials: Auto-scrolling customer reviews
  • Statistics: Animated counters with icons
  • Footer: Site navigation and social links

πŸ”„ State Management

Bolt Market uses React Context API for state management:

  • CartContext: Manages shopping cart state including:
    • Adding items to cart
    • Updating item quantities
    • Removing items
    • Calculating total price

πŸ’» Getting Started

Prerequisites

  • Node.js (version 16 or later)
  • npm or yarn

Installation

  1. Clone the repository:
git clone https://github.com/nenad0707/Bolt-Market.git
cd Bolt-Market
  1. Install dependencies:
npm install
# or
yarn install
  1. Start the development server:
npm run dev
# or
yarn dev
  1. Open your browser and navigate to http://localhost:5173

Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build locally
  • npm run lint - Run ESLint to check code quality

πŸŒ₯️ Deployment

Azure Static Web Apps

The application is deployed to Azure Static Web Apps, which provides:

  • Global CDN distribution
  • Free SSL certificates
  • GitHub integration
  • Custom domain support

GitHub Actions Workflows

Two main workflows are configured:

  1. deploy-boltmarket.yml: Builds and deploys the application to Azure Static Web Apps
  2. deploy-bicep.yml: Provisions Azure resources using Bicep templates

πŸ“± Responsive Design

  • Mobile-First Approach: Designed for all screen sizes
  • Adaptive Layouts: Flexbox and CSS Grid for responsive organization
  • Touch-Optimized: Controls designed for both mouse and touch interaction
  • Hamburger Menu: Collapsible navigation menu for mobile devices

🎨 Design Features

  • Custom Color Scheme: Indigo blue and orange accent colors
  • Smooth Animations: Page transitions and interactive elements
  • Gradient Backgrounds: Modern gradient effects for visual appeal
  • Custom Scrollbar: Styled scrollbar matching the theme colors
  • Card-Based UI: Clean card components for products and information
  • Responsive Typography: Font sizes adjust based on screen width
  • Shadow Effects: Subtle shadows for depth and hierarchy

πŸ“„ License

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

πŸ‘¨β€πŸ’» Author

Created by Nenad Ristić


πŸ“Œ Note: This project is for demonstration purposes only and does not process actual payments or store real user data.

About

A modern e-commerce platform built with React, TypeScript, and Tailwind CSS featuring smooth animations, responsive design, and Azure cloud deployment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published