Cartify is an ecommerce platform for seamless clothing and apparel shopping, built with Go (backend), PostgreSQL (database), and Next.js (frontend). It allows users to browse products, manage carts, and place orders.
Cartify/ ├── backend/ # Go-based backend API (PostgreSQL) ├── web/ # Frontend (Next.js)
- Backend: Go, Gin, PostgreSQL
- Frontend: Next.js, React, Tailwind CSS
-
Clone the repository:
git clone https://github.com/yourusername/cartify.git cd cartify/backend -
Install dependencies:
go mod tidy
-
Set up PostgreSQL and configure
config/database.go. -
Run the backend:
go run main.go
-
Navigate to the
webdirectory:cd cartify/web -
Install dependencies:
npm install
-
Run the frontend:
npm run dev
The backend runs on http://localhost:8080 and the frontend on http://localhost:3000.
- Product CRUD
- Shopping Cart & Checkout
- Order Processing
- User Authentication