Configure Environment Variables
Create a
.env.local file in the root directory with the following variables:.env.local
You’ll need to create accounts with Stripe and PayPal to get your API credentials. See the Installation guide for detailed setup instructions.
Run the Development Server
Start the Next.js development server.Open http://localhost:3000 in your browser to see the application.
Test a Subscription Flow
Navigate to the Plans section and select a subscription tier:
- Basic Plan: 1 device, from $10/month
- Standard Plan: 2 devices, from $15/month (Popular)
- Premium Plan: 3 devices, 4K support, from $15/month
4242 4242 4242 4242 to complete a test payment.Next Steps
Explore Features
Learn about subscription plans, payment processing, and content catalog
Architecture
Understand the system design and domain-driven architecture
API Reference
Explore the complete API documentation
Security
Review security features including rate limiting and validation
Need Help?
The development server won't start
The development server won't start
Make sure all dependencies are installed and MongoDB is running. Check that your Node.js version is 18 or higher.
Payment integration isn't working
Payment integration isn't working
Verify that your Stripe or PayPal API keys are correctly set in
.env.local. For testing, use Stripe test mode keys (starting with pk_test_ and sk_test_).Content catalog is empty
Content catalog is empty
The TMDB API key is optional. If not configured, the catalog section will be empty. Sign up for a free TMDB API key at https://www.themoviedb.org/settings/api.
