mirror of
https://github.com/mdtahseen7/AnimepaheApi.git
synced 2026-04-17 16:11:44 +00:00
72 lines
2.3 KiB
Plaintext
72 lines
2.3 KiB
Plaintext
╔════════════════════════════════════════════════════════════════╗
|
|
║ ║
|
|
║ AnimePahe API - Vercel Deployment Package ║
|
|
║ ║
|
|
╚════════════════════════════════════════════════════════════════╝
|
|
|
|
📦 This folder contains everything needed for Vercel deployment!
|
|
|
|
🚀 QUICK START (3 steps):
|
|
|
|
1. Install Vercel CLI:
|
|
npm i -g vercel
|
|
|
|
2. Navigate to this folder:
|
|
cd vercel-deploy
|
|
|
|
3. Deploy:
|
|
vercel
|
|
|
|
That's it! Follow the prompts and you're deployed! 🎉
|
|
|
|
📁 FILES INCLUDED:
|
|
|
|
✅ index.js - Main server
|
|
✅ lib/animepahe.js - Scraper logic
|
|
✅ lib/utils.js - Utilities
|
|
✅ public/player.html - Video player
|
|
✅ public/index.html - Landing page
|
|
✅ package.json - Dependencies
|
|
✅ vercel.json - Vercel config
|
|
✅ README.md - Full documentation
|
|
✅ DEPLOY.md - Deployment checklist
|
|
|
|
🧪 TEST LOCALLY FIRST:
|
|
|
|
cd vercel-deploy
|
|
npm install
|
|
npm start
|
|
|
|
Then visit: http://localhost:3000
|
|
|
|
📚 DOCUMENTATION:
|
|
|
|
- README.md → Full deployment guide
|
|
- DEPLOY.md → Step-by-step checklist
|
|
|
|
🎬 AFTER DEPLOYMENT:
|
|
|
|
Your API will be live at: https://your-project.vercel.app
|
|
|
|
Test it:
|
|
- https://your-project.vercel.app/health
|
|
- https://your-project.vercel.app/search?q=naruto
|
|
- https://your-project.vercel.app/player.html
|
|
|
|
💡 TIPS:
|
|
|
|
- No environment variables needed
|
|
- Free tier is sufficient
|
|
- 10-second timeout (enough for all API calls)
|
|
- Unlimited requests on free tier
|
|
|
|
🆘 NEED HELP?
|
|
|
|
Check DEPLOY.md for troubleshooting and detailed instructions.
|
|
|
|
═══════════════════════════════════════════════════════════════
|
|
|
|
Ready to deploy? Run: vercel
|
|
|
|
═══════════════════════════════════════════════════════════════
|