Note
🚧 Development is still in progress.
git clone https://github.com/wazeerc/movie-recs
cd movie-recs
npm i
npm run dev- Go to Supabase and create an account.
- Create a new project in the Supabase dashboard.
- Once the project is created, go to the "Settings" and "Data API" tab and find your Project API Keys:
API URL&Anon Key. - Copy these values and create a
.envfile in the root of the cloned repository using the.env.examplefile as a template:
# Copy the example environment file and fill in your Supabase credentials
cp .env.example .env- Create a table called
Moviesand import thecsvfile from public/data/movies.csv and set a PK. - Create a RLS policy in order to access the data - please follow these steps:
- Open the Table Editor
- Select the "Movies" table
- Click "Add RLS Policy"
- Click "Create policy" (refer to ss below)
- Choose the "Select" template
- Save policy
Your .env file should look like this (with your actual values):
VITE_SUPABASE_URL=your_supabase_url_here
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key_here
Contributions are always welcome! 😃
- Fork the Project
- Create your Feature Branch
git checkout -b feature/AmazingFeature - Commit your Changes
git commit -m 'Add some AmazingFeature' - Push to the Branch
git push origin feature/AmazingFeature - Open a Pull Request
Distributed under the Apache License. See LICENSE for more information.