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