An interactive web application designed to help users learn coding through step-by-step tutorials with real-time feedback from AI. Built with React, TypeScript, and Firebase.
Clone the repository:
git clone <repository-url>
cd <project-directory>
Install dependencies:
npm install
# or
yarn install
Create a Firebase project and copy your configuration:
Create a .env
file in the root directory:
VITE_FIREBASE_API_KEY=your-api-key
VITE_FIREBASE_AUTH_DOMAIN=your-auth-domain
VITE_FIREBASE_PROJECT_ID=your-project-id
VITE_FIREBASE_STORAGE_BUCKET=your-storage-bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your-messaging-sender-id
VITE_FIREBASE_APP_ID=your-app-id
Start the development server:
npm run dev
# or
yarn dev
steps
in your Firestore databaseinterface Step {
step: number; // Step number
task: string; // Task description
teaching: string; // Teaching content
title: string; // Step title
id: string; // Document ID
}
npm run dev
: Start development servernpm run build
: Build for productionnpm run preview
: Preview production buildnpm run lint
: Run ESLintnpm run type-check
: Run TypeScript type checkingApp.tsx
Editor Component
FeedbackModal
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)This project is licensed under the MIT License - see the LICENSE file for details.