# 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
- Clone the repository
git clone https://github.com/yourusername/golang-clothes-ecommerce.git
- Install dependencies
go mod download
- 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
- Navigate to the backend directory
cd cmd/api
- Run the server
go run main.go
Frontend
- Clone the repository
git clone https://github.com/yourusername/golang-clothes-ecommerce.git
- Navigate to the frontend directory
cd web
- Install dependencies
npm install # or yarn install
- 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
- Name: Nguyen Tri Ky
- Email: [email protected]
- GitHub: TechmoNoway
# Packages
No description provided by the author