A full-stack trading education and community platform featuring academy courses, broker reviews, blogs, podcasts, and merchandise.
π Live Site: https://xktradingfloor.com
π§ͺ Staging: https://stackified.github.io/xktradingfloor/
xktradingfloor/
βββ frontend/ # React + Vite frontend application
β βββ src/
β β βββ components/ # React components
β β βββ controllers/ # API controllers
β β βββ contexts/ # React contexts
β β βββ models/ # Data models/types
β β βββ pages/ # Page components
β β βββ redux/ # Redux store
β β βββ routes/ # React Router
β β βββ utils/ # Shared utilities (analytics, rich text, etc.)
β βββ scripts/ # Sitemap, prerender and hydration-check scripts
β βββ package.json
βββ backend/ # Express.js backend application
β βββ bin/ # Server entry point (www)
β βββ controllers/ # Request handlers
β βββ emails/ # EJS email templates
β βββ helpers/ # Helper functions
β βββ middleware/ # Express middleware
β βββ models/ # Database models
β βββ routes/ # API routes
β βββ services/ # Email and spread-data services
β βββ utils/ # Utility functions
β βββ package.json
βββ README.md
- π Home Page: Hero section, community information, featured events
- π Academy: Trading programs, workshops, bootcamps, and free resources
- π Blog: Educational articles with search and filtering
- β Reviews: Review system for brokers, prop firms, and crypto exchanges
- ποΈ Podcasts: Trading insights and educational content
- ποΈ Merchandise: E-commerce functionality with shopping cart
- π€ Dashboards: Personalized dashboards for users, operators, and admins
- π Authentication: User registration, login, and role-based access control
- π§ Email Campaigns: Admin email campaign management with CSV upload, draft management, and campaign history
- π§ Email Notifications: Automated emails via Brevo
- βοΈ Cloud Storage: File upload and storage via Cloudflare R2
- π‘οΈ Error Monitoring: Real-time error tracking and performance monitoring via Sentry
- π Analytics: Google Analytics 4 integration for tracking website performance and user behavior
- React 18.3.1
- Vite 7.3.1
- React Router DOM 6.26.2
- Redux Toolkit 2.2.7
- Tailwind CSS 3.4.14
- Framer Motion 11.2.13
- Lucide React 0.474.0
- React Helmet Async 2.0.5
- Tiptap 3 (Rich text editor)
- Recharts 2.15.4 (Charts)
- Node.js
- Express.js 4.16.1
- MongoDB with Mongoose 8.18.1
- JWT Authentication
- AWS SDK S3 client (Cloudflare R2 storage)
- Brevo (Email)
- Sentry (Monitoring)
- EJS (Templates)
- File upload support
- Node.js 20.19 or higher (Vite 7 requirement; CI uses Node 22)
- npm or yarn
- MongoDB (local or remote instance)
- Clone the repository:
git clone <repository-url>
cd xktradingfloor- Frontend Setup:
cd frontend
npm install- Backend Setup:
cd ../backend
npm install- Environment Configuration:
- Create
.envfiles in bothfrontend/andbackend/directories - Configure required environment variables (see
.env.examplefiles if available)
- Create
Start the Backend Server:
cd backend
npm run dev # Development mode
# OR
npm start # Production modeStart the Frontend Development Server:
cd frontend
npm run devnpm run dev # Start development server
npm run build # Build for production
npm run build:prod # Production build with base "/" plus prerender (used for xktradingfloor.com)
npm run build:gith # Build with base "/xktradingfloor/" plus prerender (used for GitHub Pages staging)
npm run preview # Preview production buildnpm start # Start production server
npm run dev # Start development server with auto-reload- Production: pushes to
mainbuild the frontend (npm run build:prod) and upload it to Bluehost over FTP, serving xktradingfloor.com. - Staging: pushes to
devbuild the frontend (npm run build:gith) and publish it to thegh-pagesbranch, serving stackified.github.io/xktradingfloor. - Backend: the Express API is hosted on Render.
The workflows live in .github/workflows/.
The application uses:
- Tailwind CSS for utility-first styling
- Framer Motion for animations
- Modern dark theme with responsive design
Fully responsive and optimized for:
- Desktop (1920px+)
- Laptop (1024px - 1919px)
- Tablet (768px - 1023px)
- Mobile (320px - 767px)
The application includes Google Analytics 4 (GA4) integration for comprehensive website analytics:
- Measurement ID:
G-GYPE81F8N8 - Stream ID:
13130862580 - Automatic Page View Tracking: All route changes are automatically tracked
- Custom Event Tracking: Utility functions available for tracking button clicks, form submissions, searches, and user engagement
- Real-time page view tracking
- Custom event tracking (button clicks, form submissions, link clicks)
- Search query tracking
- User engagement metrics
- Automatic route change detection
Analytics utilities are available in frontend/src/utils/analytics.js for custom event tracking throughout the application.
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Proprietary. Copyright (c) 2025-2026 XK Trading Floor. All rights reserved. Designed and developed by Stackified. See LICENSE.
For support, please contact the development team or visit the contact page.
Built with β€οΈ by Stackified.