Back to blog
By Prince Kumar2026-07-155 min read

Building CountrySpices: A Full-Stack E-Commerce Platform

ReactNode.jsMongoDBFull-Stack

CountrySpices started as a freelance project — build an e-commerce platform for Meghalaya organic spices. It grew into a full-stack application that taught me everything from database design to payment flows.

The Tech Stack

  • **Frontend:** React + Vite with component-based architecture
  • **Backend:** Node.js + Express RESTful API
  • **Database:** MongoDB with Mongoose ODM
  • **Deployment:** Vercel (frontend) + Render (backend)

Key Features

Product Browsing & Cart

8 products with image galleries, wishlist functionality, and a cart system supporting COD checkout.

Admin Dashboard

Sales analytics with charts, coupon management, and a review moderation system. All protected behind role-based access.

API Architecture

Separated public and protected routes. Admin operations require JWT authentication with environment-based secret management.

What I Learned

Building both sides of the stack taught me how data flows through an entire application — from a user clicking "Add to Cart" to that item being stored in MongoDB.

Crafted with care. © 2026 Prince Kumar. — Prince Dev

//prince.dev — full-stack · psychology