Ignite Shop is a modern e-commerce platform developed as part of the Rocketseat Ignite Program. This application is built with Next.js and React, delivering a seamless shopping experience while implementing modern web development practices and server-side rendering capabilities.
Ignite Shop is designed to:
- π§ Master advanced concepts in Next.js, including Static Site Generation (SSG) and Server-Side Rendering (SSR)
- π‘ Implement best practices in React development with TypeScript
- π§ Build a scalable, production-ready e-commerce solution integrated with Stripe
- π Explore state management and complex UI interactions with modern tools
- π¨ Dynamic Product Catalog with Keen Slider integration
- πΌοΈ Optimized image loading with Next.js Image component
- π³ Stripe Integration for product management
- π± Responsive Design with Stitches
- π― Incremental Static Regeneration (ISR) for product pages
- π° Currency formatting and price display optimization
ignite-shop/
βββ src/
β βββ assets/ # Static assets (images, logos)
β βββ components/ # Reusable UI components
β βββ pages/ # Next.js pages
β β βββ _app.tsx # Global app configuration
β β βββ _document.tsx # Custom document configuration
β β βββ index.tsx # Home page with product listing
β β βββ product/ # Product pages with SSG
β β βββ success.tsx # Checkout success page
β βββ styles/ # Global styles and themes
β βββ utils/ # Helper functions
βββ public/ # Public assets
βββ package.json # Project metadata and dependencies
- Project Setup and Configuration
- File System Routing Setup
- Custom Document Configuration
- Font Integration
- Styling with Stitches
- Visual Structure Implementation
- Global Layout
- Home Page Design
- Product Listing Layout
- Product Carousel with Keen Slider
- Stripe Integration
- Product Registration
- Image Domain Configuration
- Server-side Product Fetching
- Static Generation
- ISR Implementation
- Currency Formatting
- Product Page Optimization
- Product & Checkout
- Shopping Cart Implementation
- Checkout Flow Integration
- Success Page Development
- User Authentication
- Order History
- Node.js 18+
- npm or yarn
- Stripe Account for API integration
# Clone repository
git clone https://github.com/rafaumeu/ignite-shop.git
# Navigate to project
cd ignite-shop
# Install dependencies
npm install
# Configure environment variables
cp .env.example .env.local
# Add your Stripe API keys to .env.local
# Start development server
npm run dev
Contributions are welcome! If you'd like to improve Ignite Shop, feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License.