Skip to content

A modern trading education and community platform built with React. Features academy courses, broker reviews, blogs, podcasts, and e-commerce functionality.

License

Notifications You must be signed in to change notification settings

stackified/xktrading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

XK Trading Floor

A comprehensive trading education and community platform built with React, featuring academy courses, broker reviews, blogs, podcasts, and merchandise.

๐Ÿš€ Overview

XK Trading Floor is a modern web application designed to empower traders through education, data, and community. The platform provides a complete ecosystem for traders to learn, review trading companies, access educational resources, and connect with a supportive trading community.

Key Features

  • ๐Ÿ  Home Page: Engaging hero section, community information, and "How It Works" guide
  • ๐ŸŽ“ Academy: Expert-led programs, live workshops, strategy sessions, and trading bootcamps
  • ๐Ÿ“ Blog: Educational articles covering trading strategies, psychology, risk management, and more
  • โญ Reviews: Comprehensive review system for brokers, prop firms, and crypto exchanges
  • ๐ŸŽ™๏ธ Podcasts: Trading insights and educational content in audio format
  • ๐Ÿ›๏ธ Merchandise: E-commerce functionality for trading-related products
  • ๐Ÿ‘ค User Dashboards: Personalized dashboards for users, operators, and admins
  • ๐Ÿ” Authentication: Secure user registration, login, and role-based access control
  • ๐Ÿ“Š Analytics: Dashboard with charts and analytics for admins and operators

๐Ÿ› ๏ธ Tech Stack

Core Technologies

  • React 18.3.1 - UI library
  • Vite 5.4.10 - Build tool and dev server
  • React Router DOM 6.26.2 - Client-side routing
  • Redux Toolkit 2.2.7 - State management
  • React Redux 9.1.2 - React bindings for Redux

Styling & UI

  • Tailwind CSS 3.4.14 - Utility-first CSS framework
  • Framer Motion 11.2.13 - Animation library
  • Lucide React 0.474.0 - Icon library
  • @heroicons/react 2.1.5 - Additional icons

Additional Libraries

  • Axios 1.7.7 - HTTP client
  • Recharts 2.15.4 - Chart library for analytics
  • React Helmet Async 2.0.5 - SEO and document head management

๐Ÿ“ Project Structure

xktrading/
โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ assets/              # Static assets (images, logos, etc.)
โ”‚       โ”œโ”€โ”€ blogs/           # Blog post images
โ”‚       โ”œโ”€โ”€ events/          # Event images
โ”‚       โ”œโ”€โ”€ leadership/      # Team member photos
โ”‚       โ”œโ”€โ”€ merch/           # Product images
โ”‚       โ”œโ”€โ”€ podcasts/        # Podcast episode images
โ”‚       โ””โ”€โ”€ users/           # User avatars
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/          # Reusable React components
โ”‚   โ”‚   โ”œโ”€โ”€ academy/        # Academy-related components
โ”‚   โ”‚   โ”œโ”€โ”€ blog/           # Blog components
โ”‚   โ”‚   โ”œโ”€โ”€ dashboard/      # Dashboard components
โ”‚   โ”‚   โ”œโ”€โ”€ home/           # Home page components
โ”‚   โ”‚   โ”œโ”€โ”€ merch/          # Merchandise components
โ”‚   โ”‚   โ”œโ”€โ”€ reviews/        # Review system components
โ”‚   โ”‚   โ”œโ”€โ”€ shared/         # Shared/common components
โ”‚   โ”‚   โ””โ”€โ”€ ui/             # UI components
โ”‚   โ”œโ”€โ”€ controllers/        # API controllers and business logic
โ”‚   โ”œโ”€โ”€ models/             # Data models and mock data
โ”‚   โ”œโ”€โ”€ pages/              # Page components
โ”‚   โ”œโ”€โ”€ redux/              # Redux store and slices
โ”‚   โ”‚   โ””โ”€โ”€ slices/         # Redux slices (auth, cart, analytics)
โ”‚   โ”œโ”€โ”€ routes/             # Routing configuration
โ”‚   โ”œโ”€โ”€ styles/             # Global styles
โ”‚   โ”œโ”€โ”€ utils/              # Utility functions
โ”‚   โ”œโ”€โ”€ App.jsx             # Main App component
โ”‚   โ””โ”€โ”€ main.jsx            # Application entry point
โ”œโ”€โ”€ index.html              # HTML template
โ”œโ”€โ”€ package.json            # Dependencies and scripts
โ”œโ”€โ”€ tailwind.config.js      # Tailwind CSS configuration
โ”œโ”€โ”€ vite.config.js          # Vite configuration
โ””โ”€โ”€ postcss.config.js       # PostCSS configuration

๐Ÿšฆ Getting Started

Prerequisites

  • Node.js (v16 or higher recommended)
  • npm or yarn package manager

Installation

  1. Clone the repository:
git clone <repository-url>
cd xktrading
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

The application will be available at http://localhost:5173 (or the port specified in vite.config.js).

Build for Production

npm run build

This creates an optimized production build in the dist directory.

Preview Production Build

npm run preview

This serves the production build locally for testing (default port: 5173).

๐ŸŽฏ Features Breakdown

Authentication System

  • User registration and login
  • Role-based access control (user, operator, admin)
  • Cookie-based session management
  • Protected routes for authenticated users

Academy Section

  • Event listings with filtering and search
  • Event registration modal
  • Free resources section
  • Podcast integration
  • Educational content management

Review System

  • Company listings (brokers, prop firms, crypto exchanges)
  • Filtering by type, rating, and status
  • Pagination for large datasets
  • Review submission and moderation
  • Company detail pages with reviews
  • Operator dashboard for managing companies

Blog System

  • Blog post listings with categories
  • Search functionality
  • Individual blog post pages
  • Author information
  • Related posts

Merchandise

  • Product catalog with filtering
  • Shopping cart functionality (Redux managed)
  • Product detail pages
  • Cart sidebar component

Dashboards

  • User Dashboard: Personal analytics and activity
  • Operator Dashboard: Company and review management
  • Admin Dashboard: Full platform administration
  • Analytics charts and widgets
  • Recent activity tracking
  • Quick actions panel

๐ŸŽจ Styling & Design

The application uses a dark theme with a modern, professional design:

  • Primary Color: #2B6EF2 (Blue)
  • Background: #0B0F19 (Dark blue-black)
  • Card Background: #0E1422
  • Typography: Inter and Poppins fonts

Custom Tailwind configuration extends the default theme with project-specific colors and utilities.

๐Ÿ” Environment Variables

Currently, the application uses client-side data management. For production deployment, you may want to configure:

  • API endpoints
  • Authentication service URLs
  • Environment-specific configurations

๐Ÿ“ฑ Responsive Design

The application is fully responsive and optimized for:

  • Desktop (1920px+)
  • Laptop (1024px - 1919px)
  • Tablet (768px - 1023px)
  • Mobile (320px - 767px)

๐Ÿงช Development

Key Development Features

  • Hot Module Replacement (HMR): Fast development with instant updates
  • React Fast Refresh: Preserves component state during development
  • ESLint: Code linting (if configured)
  • TypeScript Support: Can be added if needed

Code Organization

  • Component-based Architecture: Modular, reusable components
  • Separation of Concerns: Controllers, models, and views separated
  • Redux State Management: Centralized state for auth, cart, and analytics
  • Custom Hooks: Reusable logic extraction (where applicable)

๐Ÿš€ Deployment

Build Output

The npm run build command generates optimized static files in the dist directory, ready for deployment to:

  • Static Hosting: Netlify, Vercel, GitHub Pages
  • CDN: Cloudflare, AWS CloudFront
  • Traditional Servers: Nginx, Apache

Deployment Checklist

  • Update API endpoints for production
  • Configure environment variables
  • Set up authentication backend
  • Configure CORS if needed
  • Set up analytics tracking
  • Optimize images and assets
  • Test all features in production environment

๐Ÿ“ Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build locally

๐Ÿ”ง Configuration Files

  • vite.config.js: Vite build configuration
  • tailwind.config.js: Tailwind CSS customization
  • postcss.config.js: PostCSS configuration
  • package.json: Project metadata and dependencies

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is private and proprietary.

๐Ÿ“ž Support

For support, please contact the development team or visit the contact page at /contact.

๐Ÿ”ฎ Future Enhancements

Potential features for future development:

  • Real-time chat or Discord integration
  • Advanced trading tools and calculators
  • Mobile app version
  • Enhanced analytics and reporting
  • Integration with trading APIs
  • Payment gateway integration for merchandise
  • Email notifications system
  • Advanced search and filtering

Built with โค๏ธ by Stackified.

About

A modern trading education and community platform built with React. Features academy courses, broker reviews, blogs, podcasts, and e-commerce functionality.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages