Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A modern, full-featured streaming platform for Nollywood films with comprehensive admin CMS, user authentication, and content management.
git clone <your-repo-url>
cd nollywood-media
npm install
.env file with your Supabase credentials:VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_anon_key
Run database migrations
The migrations in supabase/migrations/ will be automatically applied. Ensure your Supabase project is set up.
Start the development server
npm run dev
After signing up through the UI, grant admin access via SQL:
INSERT INTO user_roles (user_id, role)
VALUES ('YOUR_USER_ID', 'admin')
ON CONFLICT (user_id) DO UPDATE SET role = 'admin';
/admin/admin): Overview with key metrics/admin/films): Manage film catalog/admin/users): Manage user roles/admin/analytics): View platform metrics/admin/settings): Configure platformnpm run dev - Start development servernpm run build - Build for productionnpm run preview - Preview production buildnpm run lint - Run ESLintnpm run typecheck - Run TypeScript type checkingsrc/
├── components/ # Reusable UI components
│ ├── AuthModal.tsx # Login/signup modal
│ ├── Header.tsx # Main navigation
│ ├── ProtectedRoute.tsx # Route protection
│ └── ...
├── context/ # React contexts
│ ├── AuthContext.tsx # Authentication state
│ └── CatalogProvider.tsx # Film catalog state
├── pages/ # Page components
│ ├── admin/ # Admin dashboard pages
│ │ ├── AdminLayout.tsx
│ │ ├── Dashboard.tsx
│ │ ├── Films.tsx
│ │ ├── FilmEditor.tsx
│ │ ├── Users.tsx
│ │ └── ...
│ ├── Home.tsx
│ ├── WatchPage.tsx
│ └── ...
├── lib/ # Utilities and helpers
│ ├── supabase.ts # Supabase client
│ └── catalog.ts # Catalog filtering logic
└── types/ # TypeScript type definitions
All tables have RLS enabled with the following policies:
The Supabase client is initialized in src/lib/supabase.ts and used throughout the app:
import { supabase } from '../lib/supabase';
// Query films
const { data, error } = await supabase
.from('films')
.select('*')
.order('created_at', { ascending: false });
// Add to watchlist
const { error } = await supabase
.from('user_watchlist')
.insert({ user_id: user.id, film_id: filmId });
Planned features for future releases:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License.
For issues and questions: