spencerlepine / swagsticker.com

E-commerce store for developer laptop stickers 🛒 💻
https://swagsticker.com
GNU General Public License v3.0
0 stars 0 forks source link
ecommerce nextjs printify stripe

SwagSticker.com Repo Status Badge

Full-stack e-commerce store for developer laptop stickers. Automated with dropshipping

https://github.com/user-attachments/assets/d32962b3-6aa8-401c-ab43-440fff3e31cc

🎯 Project Overview

🛠️ Built With

⭐️ Features

Onboarding Feature Authenticate with convenient and secure email-only login.

Catalog Feature Browse the catalog, filter by category, and sort.

View Product FeatureAdd item to cart, proceed to checkout.

Checkout Feature Place order and checkout with secure embedded Stripe form, optimized for conversions.

Account Page Feature View orders, download receipts, and track shipping status.

🏗️ System Diagram

SwagSticker.com system diagram

💻 Local Development

Prerequisites

Installation

git clone https://github.com/spencerlepine/swagsticker.com
cd swagsticker.com
cp .env.template .env.development
npm install

Run Locally

stripe login
stripe listen --forward-to localhost:3000/api/v1/webhook/checkout
# *open separate terminal*

npm run dev
# visit http://locahost:3000

🐋 Docker

Local Docker Container

stripe login
stripe listen --forward-to localhost:3000/api/v1/webhook/checkout
# *open separate terminal*

cp .env.template .env.production
docker-compose -f ./docker/docker-compose.dev.yml --env-file .env.production up --build
# visit http://locahost:3000

Production Docker Build

cp .env.template .env.production
docker-compose -f ./docker/docker-compose.prod.yml --env-file .env.production up --build
# visit http://localhost

License

GNU General Public License v3.0 or later

See COPYING to see the full text.