Skip to content

Glow Lab is a single-page demo e-commerce app built with React on the frontend and Express on the backend. It integrates Stripe’s Payment Element for secure transactions and features a product catalog, shopping cart, and checkout flow.

Notifications You must be signed in to change notification settings

claudiaaziz/glow-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Glow Lab E-commerce Demo Application

This is a basic e-commerce web application for a new direct-to-consumer brand, Glow Lab, showcasing Stripe's payment capabilities. The application includes a product catalog, a shopping cart, and a checkout flow integrated with Stripe's Payment Element for secure transactions.

glow-lab

Features

  • Product Catalog: Displays a list of products, including images, titles, descriptions, and prices.
  • Shopping Cart: Allows customers to add or remove items from the shopping cart and view selected products.
  • Secure Checkout: Stripe Payment Element integration for safe transactions.
  • Order Confirmation: Clear success/failure states after purchase.
  • Clean User Experience: Clean, responsive interface with intuitive shopping cart and payment flow.

Tech Stack

Frontend

  • React 18
  • Vite
  • React Router
  • Regular CSS with component-specific stylesheets
  • Stripe Payment Element

Backend

  • Node.js
  • Express
  • Stripe API

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/claudiaaziz/glow-lab
    cd glow-lab
  2. Install Dependencies:

    Backend setup:

    cd server
    npm i

    Frontend setup:

    cd client
    npm i
  3. Environment Setup:

    Create a .env file in the server directory and add your Stripe keys:

    STRIPE_SECRET_KEY=your_stripe_secret_key
    STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
    PORT=3000
  4. Start the Application:

    Start backend server:

    cd server
    npm run dev

    In a new terminal, start the frontend:

    cd client
    npm run dev
  5. Open your browser:

    Navigate to http://localhost:5173.

About

Glow Lab is a single-page demo e-commerce app built with React on the frontend and Express on the backend. It integrates Stripe’s Payment Element for secure transactions and features a product catalog, shopping cart, and checkout flow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published