Skip to content

NewStreamTeam/FairPlay-Website

Repository files navigation

FairPlay

This project uses Next.js with Supabase for backend services. All application code lives under the src/ directory.

Note : This website is just a "proof of concept", it is not the final product at all

Setup

  1. Install dependencies:
npm install
  1. Create a .env.local file at the project root and provide your Supabase credentials:
NEXT_PUBLIC_SUPABASE_URL=<your-supabase-url>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<your-anon-key>
  1. Start the development server:
npm run dev

Open http://localhost:3000 in your browser to see the app.

Scripts

  • npm run dev – start the Next.js dev server
  • npm run build – build the application for production
  • npm run lint – run ESLint

Project structure

  • src/pages – application pages
  • src/components – reusable React components
  • src/lib – shared utilities such as the Supabase client
  • src/lib/recommend.ts – suggestion algorithm combining user theme preferences and video ratings

Public API

The application exposes a public API under /api/v1. Currently the following endpoint is available:

  • GET /api/v1/videos – list all uploaded videos

Videos can have several tags. When uploading, type / in the tag field to get suggestions based on existing tags.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •