Development of My_Tutor Education Platform

Mashrur Shaheer

Mashrur Shaheer

My_Tutor - Advanced Data Science & AI Education Platform

A production-ready React application built with Vite and TypeScript, featuring a comprehensive educational platform for Data Science and AI courses.

šŸš€ Features

React 18 with TypeScript for type safety
Vite for lightning-fast development and optimized builds
Feature-based architecture for scalable development
React Router for seamless client-side routing
Responsive design with mobile-first approach
Component-based UI with reusable design system
SEO Optimized with meta tags and structured data
Performance Optimized with code splitting and lazy loading
Production Ready with security headers and caching

šŸ“ Project Structure

src/
ā”œā”€ā”€ features/ # Feature-based modules
│ ā”œā”€ā”€ auth/ # Authentication feature
│ │ └── components/ # Auth-specific components
│ ā”œā”€ā”€ courses/ # Courses feature
│ │ └── components/ # Course-related components
│ └── home/ # Home page feature
│ └── pages/ # Home page components
ā”œā”€ā”€ shared/ # Shared resources
│ ā”œā”€ā”€ components/ # Reusable components
│ │ └── Layout/ # Layout components
│ ā”œā”€ā”€ types/ # TypeScript type definitions
│ ā”œā”€ā”€ utils/ # Utility functions
│ └── constants/ # Application constants
ā”œā”€ā”€ App.tsx # Main App component
ā”œā”€ā”€ main.tsx # Application entry point
└── index.css # Global styles

šŸ› ļø Development

Prerequisites

Node.js (v18 or higher)
npm or yarn

Installation

npm install

Development Server

npm run dev
The application will be available at http://localhost:3000

Build

npm run build

Preview Production Build

npm run preview

šŸ—ļø Architecture

Feature-Based Structure

The application follows a feature-based folder structure where each feature is self-contained with its own:
Components: Feature-specific React components
Pages: Page-level components for routing
Hooks: Custom React hooks (when needed)
Services: API calls and business logic (when needed)
Types: Feature-specific TypeScript types (when needed)

Shared Resources

Common functionality is placed in the shared folder:
Components: Reusable UI components (Layout, Button, etc.)
Types: Global TypeScript interfaces and types
Utils: Utility functions for common operations
Constants: Application-wide constants and configuration

šŸŽØ Styling

The application uses CSS modules and modern CSS features:
CSS Custom Properties for theming
Flexbox and Grid for layouts
Responsive design with mobile-first approach
Dark/Light mode support via CSS media queries

šŸ”§ Configuration

Environment Variables

Create a .env file in the root directory:
VITE_API_BASE_URL=http://localhost:3001/api

TypeScript

The project is configured with strict TypeScript settings for better type safety and development experience.

šŸ“¦ Dependencies

Core Dependencies

React: UI library
React DOM: DOM rendering
React Router DOM: Client-side routing

Development Dependencies

Vite: Build tool and dev server
TypeScript: Type checking and compilation
@vitejs/plugin-react: React support for Vite

šŸš€ Getting Started

Clone the repository
Install dependencies: npm install
Start development server: npm run dev
Open http://localhost:3000 in your browser

šŸ“ Available Scripts

npm run dev - Start development server
npm run build - Build for production
npm run preview - Preview production build
npm run lint - Run ESLint (if configured)

šŸ¤ Contributing

Follow the feature-based folder structure
Use TypeScript for all new code
Write reusable components in the shared folder
Keep feature-specific code in respective feature folders
Follow the existing naming conventions

šŸ“„ License

This project is licensed under the MIT License.
Like this project

Posted Oct 22, 2025

Built a dynamic React + Vite frontend for an EdTech platform; improved load time 50%, enhanced interactive learning UX, and responsive design.