Skip to content

ize-302/rate-sq

Repository files navigation

RateSQ ⭐⭐⭐⭐⭐

Web app for rating opening sequence of tv shows

codecov CI

Tech Stack

Database Structure / Relationship 💾

Alt text(https://drawsql.app/teams/team-ize/diagrams/rate-sq)

How to run 🏃

Requirements
Proceedures
  • Clone the repo
  • Run yarn install to install dependencies
  • Run Yarn dev to run in development mode
  • This usually runs on port 3000 unless otherwise stated
PS 👋

Run the following in your SQL editor to create the required tables

CREATE TABLE profiles (
    id uuid PRIMARY KEY,
    created_at timestamptz NOT NULL DEFAULT NOW(),
    email text,
    password text,
    verified bool DEFAULT false,
    avatar_url text NULL,
    display_name text,
    salt text,
    role text DEFAULT user
);
CREATE TABLE Titles (
    id text PRIMARY KEY,
    created_at timestamptz NOT NULL DEFAULT NOW(),
    added_by uuid,
    name text,
    embed_code text
);
CREATE TABLE Ratings (
    id uuid PRIMARY KEY,
    author uuid,
    rating numeric,
    comment text,
    updated_at timestamptz NOT NULL DEFAULT NOW(),
    show_id text
);