Development:
- Run this command to create your
.env
file:cp .env.example .env
- Fill the supabase values in
.env
file- Create a supabase account at https://app.supabase.io/
- Create an app https://app.supabase.io/new
- Go to settings page of your app and click API
- Under "Project API keys" > "anon/public" is your Public Key
- Under "Config" > "URL" is your Supabase URL
- Fill the values as shown
VUE_APP_SUPABASE_URL
=YOUR_SUPABASE_URLVUE_APP_SUPABASE_PUBLIC_KEY
=YOUR_SUPABASE_PUBLIC_KEY
- Enable email auth under "Authentication" > "Email Auth"
- In supabase admin panel > "Authentication" > "General" section, fill your "Site URL" as: "https://localhost:8080"
- In supabase admin panel > "Authentication" > "General" section, fill your "Additional Redirect URLs" as: "https://localhost:8080"
- Fill TMDB values in
.env
file- Create a TMDB account at https://www.themoviedb.org/
- Go to Settings page https://www.themoviedb.org/settings/api
- Down below there should be you v3 api key and JWT token.
- Get API key and JWT (json web token) from TMDB
- Fill these values as show.
VUE_APP_TMDB_API_KEY
=YOUR_TMDB_API_KEYVUE_APP_TMDB_JWT
=YOUR_TMDB_JWT
Database Creation:
- Go to supabase app "Database" section.
- Create tables from db_schema