Inspiration

I wanted to build a clothing store with the clean, editorial look of modern fashion brands, and to build it as a complete, working shop, not just a pretty front page.

What it does

CartPilot is a full-stack clothing e-commerce site. Shoppers browse by collection, choose sizes and colors, add items to a cart and pay with PayPal. They can then follow their orders. Admins can add, edit and delete products with photo uploads, and view all orders and mark them pending, shipped or delivered.

How I built it

Frontend: React, Redux Toolkit and React Router, with a custom CSS design system (serif headings, rounded cards, black pill buttons) Backend: Node.js and Express, with MongoDB and Mongoose Auth: JWT login, bcrypt-hashed passwords, and admin-only routes Images: Cloudinary for product photos Payments: PayPal, in sandbox (test) mode Email: Nodemailer for order confirmations

Challenges I ran into

The biggest one was payment security. At first the browser sent the price, so a user could change it. I moved everything to the server: it reads prices and stock from the database, checks that the PayPal amount matches the cart before taking any money, ignores a payment submitted twice, and rejects sizes or colors a product doesn't offer. I also had to debug PayPal sandbox account issues.

Accomplishments I'm proud of

A complete shopping flow from browsing to paid order, a secure server-side checkout, and a design that is consistent across every page.

What I learned

How to design a payment flow that doesn't trust the browser, and how to manage product variants across the cart, orders and stock.

What's next for CartPilot

Stock per size, email verification at sign-up and real-currency payments.

AI Disclosure

I used Claude as a coding assistant to help brainstorm architecture, debug PayPal sandbox issues, and review server-side validation logic, while I designed, integrated, and deployed the full-stack application myself.

Built With

Share this project:

Updates

Submission history