{"id":16989304,"url":"https://github.com/ize-302/rate-sq","last_synced_at":"2026-04-13T00:02:18.718Z","repository":{"id":177819444,"uuid":"656355651","full_name":"ize-302/rate-sq","owner":"ize-302","description":"Web app for rating opening sequence of tv shows","archived":false,"fork":false,"pushed_at":"2023-07-11T18:04:00.000Z","size":915,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T21:28:13.167Z","etag":null,"topics":["javascript","jest","mantine-ui","neondb","nextjs","postgresql","tailwindcss","tmdb-api"],"latest_commit_sha":null,"homepage":"https://rate-sq.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ize-302.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/contributing.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-20T19:29:45.000Z","updated_at":"2023-07-09T07:37:12.000Z","dependencies_parsed_at":"2025-01-26T21:35:27.434Z","dependency_job_id":null,"html_url":"https://github.com/ize-302/rate-sq","commit_stats":null,"previous_names":["ize-302/ost-rating"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ize-302%2Frate-sq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ize-302%2Frate-sq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ize-302%2Frate-sq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ize-302%2Frate-sq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ize-302","download_url":"https://codeload.github.com/ize-302/rate-sq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244898446,"owners_count":20528341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","jest","mantine-ui","neondb","nextjs","postgresql","tailwindcss","tmdb-api"],"created_at":"2024-10-14T03:06:01.900Z","updated_at":"2026-04-13T00:02:13.674Z","avatar_url":"https://github.com/ize-302.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RateSQ ⭐⭐⭐⭐⭐\n\nWeb app for rating opening sequence of tv shows\n\n[![codecov](https://codecov.io/gh/ize-302/rate-sq/branch/master/graph/badge.svg?token=BQ116RI0Q2)](https://codecov.io/gh/ize-302/rate-sq)\n[![CI](https://github.com/ize-302/rate-sq/actions/workflows/ci.yml/badge.svg)](https://github.com/ize-302/rate-sq/actions/workflows/ci.yml)\n\n#### Tech Stack\n\n- [NextJS](https://nextjs.org/)\n- PostgreSQL with ([NeonDB](https://neon.tech))\n- [Jest](https://jestjs.io/) for testing\n- [TailwindCSS](https://tailwindcss.com) \u0026 [Mantine](https://mantine.dev/)\n- Hosted on [Vercel](https://vercel.com)\n- TV shows powered by [TMDB](https://themoviedb.org/)\n\n#### Database Structure / Relationship 💾\n\n![Alt text](image.png)(https://drawsql.app/teams/team-ize/diagrams/rate-sq)\n\n#### How to run 🏃\n\n##### Requirements\n\n- Access token key from themoviedb developer account https://developer.themoviedb.org\n- Postgresql config. This setup uses neondb https://neon.tech/\n- Good to go 🔥 🔥 🔥\n\n##### Proceedures\n\n- Clone the repo\n- Run `yarn install` to install dependencies\n- Run `Yarn dev` to run in development mode\n- This usually runs on port 3000 unless otherwise stated\n\n##### PS 👋\n\nRun the following in your SQL editor to create the required tables\n\n```\nCREATE TABLE profiles (\n    id uuid PRIMARY KEY,\n    created_at timestamptz NOT NULL DEFAULT NOW(),\n    email text,\n    password text,\n    verified bool DEFAULT false,\n    avatar_url text NULL,\n    display_name text,\n    salt text,\n    role text DEFAULT user\n);\n```\n\n```\nCREATE TABLE Titles (\n    id text PRIMARY KEY,\n    created_at timestamptz NOT NULL DEFAULT NOW(),\n    added_by uuid,\n    name text,\n    embed_code text\n);\n```\n\n```\nCREATE TABLE Ratings (\n    id uuid PRIMARY KEY,\n    author uuid,\n    rating numeric,\n    comment text,\n    updated_at timestamptz NOT NULL DEFAULT NOW(),\n    show_id text\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fize-302%2Frate-sq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fize-302%2Frate-sq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fize-302%2Frate-sq/lists"}