ESP32-S3 Bench Guide
ESP32-S3 N16R8 bench guide: live pinout, lessons, simulators and the bench log.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
A comprehensive AP Calculus learning platform built with Next.js 15, featuring both free ad-supported content and premium subscription features.
Free Tier
• Comprehensive Text Explanations: Clear, detailed content for all AP Calculus topics
• Example Problems: Hundreds of practice problems with detailed solutions
• Basic Flashcards: Quick review flashcards for all topics
• Ad-Supported: Monetized through Google AdSense integration檢視完整 README ↗A comprehensive AP Calculus learning platform built with Next.js 15, featuring both free ad-supported content and premium subscription features.
# Navigate to the project directory
cd "AP Calculus Website - Ad Revenue Based"
# Install dependencies
npm install
Create or update your .env file with the following:
# Database
DATABASE_URL="your-postgresql-connection-string"
# NextAuth
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="generate-a-random-secret-key"
# Google OAuth (Optional - for social login)
GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
# Stripe
STRIPE_PUBLISHABLE_KEY="your-stripe-publishable-key"
STRIPE_SECRET_KEY="your-stripe-secret-key"
STRIPE_WEBHOOK_SECRET="your-stripe-webhook-secret"
STRIPE_PREMIUM_PRICE_ID="your-stripe-price-id"
# Google AdSense
NEXT_PUBLIC_ADSENSE_CLIENT_ID="your-adsense-client-id"
# Microsoft Clarity (Optional)
NEXT_PUBLIC_CLARITY_PROJECT_ID="your-clarity-project-id"
# App Configuration
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Start Prisma's local PostgreSQL database (optional)
npx prisma dev
# Or configure your own PostgreSQL connection in DATABASE_URL
# Run migrations
npx prisma migrate dev
# Generate Prisma Client
npx prisma generate
# Seed the database with sample content
npm run seed
/api/stripe/webhook.envnpm run dev
Open http://localhost:3000 to see your application.
src/
├── app/ # Next.js app directory
│ ├── api/ # API routes
│ │ ├── auth/ # NextAuth endpoints
│ │ └── stripe/ # Stripe checkout & webhooks
│ ├── topics/ # Topic pages
│ ├── flashcards/ # Flashcard system
│ ├── premium/ # Premium subscription page
│ └── layout.tsx # Root layout
├── components/ # React components
│ ├── navbar.tsx # Navigation
│ ├── providers.tsx # Context providers
│ └── ad-banner.tsx # AdSense integration
├── lib/ # Utility libraries
│ ├── prisma.ts # Prisma client
│ ├── auth.ts # NextAuth configuration
│ └── stripe.ts # Stripe configuration
└── types/ # TypeScript type definitions
prisma/
├── schema.prisma # Database schema
└── seed.ts # Sample data seeder
The platform uses a comprehensive schema including:
Premium flashcards use the SM-2 algorithm (similar to Anki) to optimize review schedules based on user performance.
# Development
npm run dev # Start development server
npm run build # Build for production
npm start # Start production server
# Database
npx prisma studio # Open Prisma Studio GUI
npx prisma migrate dev # Run database migrations
npm run seed # Seed database with sample data
# Code Quality
npm run lint # Run ESLint
/topics pageUpdate the plans in src/lib/stripe.ts:
export const PLANS = {
FREE: { /* ... */ },
PREMIUM: {
price: 9.99, // Change price here
features: [ /* ... */ ]
}
}
Modify ad placements in src/components/ad-banner.tsx and update AdSense configuration.
Make sure to set all environment variables in your hosting platform, especially:
NEXTAUTH_SECRET (generate a secure random string)DATABASE_URL (production database)Use LaTeX syntax with KaTeX:
Inline: $f(x) = x^2$
Display: $$\int_0^1 x^2 dx = \frac{1}{3}$$
Flashcards support markdown and math:
{
front: "What is the derivative of $x^n$?",
back: "$nx^{n-1}$ (Power Rule)",
hint: "Multiply by exponent, subtract 1"
}
This is a personal project, but suggestions and feedback are welcome!
This project is for educational purposes.
For issues or questions:
This platform covers:
Built with ❤️ for AP Calculus students