尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
A full-stack MERN application for browsing movies, watching trailers, and booking cinema tickets with real-time seat selection and payment integration.
The application is built using a modern full-stack architecture with a decoupled frontend and backend, using Inngest for background workflows and MongoDB for data persistence.
🔹 Frontend (Client)
• State Management: Uses React Context API (AppContext) for auth and movie data.
• Micro-interactions: Interactive SeatLayout for real-time selection.
• AI Integration: Custom CineBot component for movie recommendations and support.檢視完整 README ↗A full-stack MERN application for browsing movies, watching trailers, and booking cinema tickets with real-time seat selection and payment integration.
The application is built using a modern full-stack architecture with a decoupled frontend and backend, using Inngest for background workflows and MongoDB for data persistence.
graph TD
subgraph Client ["💻 Client (React + Vite)"]
direction TB
AC["AppContext (Global State)"]
P["Pages (Home, Details, Seats)"]
C["Components (Navbar, Footer)"]
CB["CineBot (AI Chatbot)"]
TWR["Tailwind CSS & React Router"]
end
subgraph Server ["⚙️ Server (Node.js + Express.js)"]
direction TB
R["Routes (API Endpoints)"]
CT["Controllers (Business Logic)"]
M["Models (Mongoose Schemas)"]
I["Inngest (Background Jobs)"]
VD["Vercel Deployment"]
end
DB[("💾 MongoDB (Persistence)")]
Client <-->|"REST API"| Server
Server --> DB
DB -.->|"Data Store"| M
style Client fill:#3b3bb1,stroke:#fff,color:#fff
style Server fill:#a64d2e,stroke:#fff,color:#fff
style DB fill:#1e511e,stroke:#fff,color:#fff
AppContext) for auth and movie data.SeatLayout for real-time selection.CineBot component for movie recommendations and support.routes, controllers, and models.git clone <repository-url>
cd Movie-Ticket-booking
cd server
npm install
Create a .env file in the server directory:
MONGODB_URI=your_mongodb_connection_string
PORT=3000
TMDB_API_KEY=your_tmdb_api_key
# Clerk Auth
CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
# Stripe
STRIPE_SECRET_KEY=your_stripe_secret_key
STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
# Inngest (Required for background tasks)
INNGEST_EVENT_KEY=your_inngest_event_key
INNGEST_SIGNING_KEY=your_inngest_signing_key
# Resend (Required for emails)
RESEND_API_KEY=your_resend_api_key
Start the server:
npm run server
cd client
npm install
Create a .env file in the client directory:
VITE_BASE_URL=http://localhost:3000
VITE_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
VITE_TMDB_IMAGE_BASE_URL=https://image.tmdb.org/t/p/original
VITE_CURRENCY=$
Start the client:
npm run dev
server folder code to GitHub.server/.env.0.0.0.0/0) in MongoDB Atlas Network Access.client folder code to GitHub.client/.env.VITE_BASE_URL to your deployed server URL (e.g., https://your-server.vercel.app).To test the email flow and user sync locally:
npm run server).npx inngest-cli@latest dev -u http://localhost:3000/api/inngest
http://localhost:8288) to view event logs and trigger dry-runs.