Categorygithub.com/TechmoNoway/golang-clothes-ecommerce
module
0.0.0-20250122142416-eef3a40845b3
Repository: https://github.com/techmonoway/golang-clothes-ecommerce.git
Documentation: pkg.go.dev

# README

Clothes E-commerce Platform

Welcome to the Clothes E-commerce Platform! This project is built using Go for the backend and React TypeScript for the frontend. It aims to provide a seamless online shopping experience for customers looking for fashionable clothing items.

Table of Contents

Introduction

The Clothes E-commerce Platform is a comprehensive solution for managing an online clothing store. It includes functionalities for user authentication, product management, order processing, and payment integration. The platform is designed to be scalable, maintainable, and secure.

Features

  • User registration and login
  • Product listing with categories and search functionality
  • Shopping cart and order management
  • Payment gateway integration
  • Admin panel for managing products, orders, and users
  • Responsive design for mobile and desktop

Technologies Used

  • Backend: Go
  • Frontend: React TypeScript
  • Database: PostgreSQL
  • Authentication: JWT
  • Payment Gateway: Stripe
  • Styling: Tailwind CSS

Installation

Prerequisites

  • Go
  • Node.js and npm/yarn
  • PostgreSQL

Backend

  1. Clone the repository
    git clone https://github.com/yourusername/golang-clothes-ecommerce.git
    
  2. Install dependencies
    go mod download
    
  3. Set up environment variables (create a .env file)
    DB_HOST=your_database_host
    DB_PORT=your_database_port
    DB_USER=your_database_user
    DB_PASSWORD=your_database_password
    DB_NAME=your_database_name
    JWT_SECRET=your_jwt_secret
    STRIPE_SECRET_KEY=your_stripe_secret_key
    
  4. Navigate to the backend directory
    cd cmd/api
    
  5. Run the server
    go run main.go
    

Frontend

  1. Clone the repository
    git clone https://github.com/yourusername/golang-clothes-ecommerce.git
    
  2. Navigate to the frontend directory
    cd web
    
  3. Install dependencies
    npm install
    # or
    yarn install
    
  4. Start the development server
    npm start
    # or
    yarn start
    

Usage

  • Navigate to http://localhost:5173 to access the frontend.
  • Use the admin panel at http://localhost:5173/admin to manage the store.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any feature addition or bug fix.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

# Packages

No description provided by the author