Overview
Nano's Gadgets is an eCommerce platform for selling mobile gadgets and electronics. It has a customer storefront, a separate admin panel and a FastAPI backend, and it takes payment through Paystack. Shoppers can check out as guests, sign in with email and a one-time code, or use Google.
I built all three parts: the storefront in React, the admin dashboard for products, orders, coupons and shipping, and the API behind them. The catalogue handles phones, laptops and accessories as different product types, each with its own variants, stock and discounts.
The challenge
A gadget shop is more than a product list. A phone comes in colours and storage sizes with separate stock for each, a laptop has a different set of specifications, and an accessory has neither. A single flat product table does not fit any of them for long.
The store also had to work for people who do not want an account, take real payments in Nigerian naira, and give the owner one place to manage orders, discounts and shipping without touching the database.
The goal
Build a store that is quick to shop on and simple for the owner to run.
- 01Model phones, laptops and accessories separately, each with variants, images, stock and discounts.
- 02Let customers check out as guests or with an account, with a cart that survives either way.
- 03Take payment through Paystack and verify it on the server before an order is marked paid.
- 04Give the owner an admin panel for products, orders, users, coupons, brands and shipping rates.
- 05Ship the whole stack with Docker so it can be started with one command.
The storefront
The storefront is a React and TypeScript app with search that waits for typing to settle, filters by category, brand and price, and a light and dark theme. Product pages show variants and their images, and the cart lives in a side panel as well as a full page.
A public order tracking page lets anyone look up an order by its ID, which matters for guests who never create an account.
Guest checkout and sign-in
Checkout works without an account. Signed-in users get a dashboard with their order history and profile, and sign-in supports email and password with OTP verification, or Google OAuth.
- 01Guest and signed-in carts both persist.
- 02Tax and shipping are calculated at checkout from the admin's shipping rates.
- 03Sensitive routes such as login and OTP are rate limited.
Catalogue and variants
Products are split into phone, laptop and accessory models, with brands and categories in their own tables. Each product has variants (colour, storage, stock) with image uploads handled through Cloudinary, and discounts can be set per variant.
This came from a mid-project rewrite: the first backend was too rigid for multiple product types, so I reshaped the models and moved the admin and storefront onto the new structure.
The admin panel
A separate React app gives the owner a dashboard over the whole shop.
- 01Products with rich text descriptions, variants and discounts.
- 02Orders with status updates (pending, shipped, delivered) and printable receipts.
- 03Users, brands, coupons and shipping rates.
- 04Emails to customers sent straight from the admin.
Payments and the backend
Paystack payments are initialised and then verified by reference on the server. The FastAPI backend uses SQLModel on PostgreSQL with Alembic migrations, sends order and account emails in the background, and keeps an audit log. Docker Compose starts the database, API, storefront and admin together.
The outcome
Nano's Gadgets is a deployed store with a working storefront, admin panel and API, backed by roughly 90 commits across 2025 and 2026. It shows a complete eCommerce flow built end to end: catalogue, guest and account checkout, Paystack payment and order management.


