diff --git a/README.md b/README.md index d09d62d..1266609 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# AlgoHub - Programming Problems Hub +# gitgud - Programming Problems Hub -AlgoHub is a modern web application that provides a curated collection of programming problems from various competitive programming platforms. It helps users improve their coding skills, prepare for technical interviews, and master algorithmic thinking. +gitgud is a modern web application that provides a curated collection of programming problems from various competitive programming platforms. It helps users improve their coding skills, prepare for technical interviews, and master algorithmic thinking. ## Features @@ -28,8 +28,8 @@ AlgoHub is a modern web application that provides a curated collection of progra 1. Clone the repository: ```bash - git clone https://github.com/cameroncuster/AlgoHub.git - cd AlgoHub + git clone https://github.com/cameroncuster/gitgud.git + cd gitgud ``` 2. Install dependencies: diff --git a/VISION.md b/VISION.md index 22d4a5c..ebc0d19 100644 --- a/VISION.md +++ b/VISION.md @@ -1,8 +1,8 @@ -# AlgoHub Vision +# gitgud Vision ## Core Concept -AlgoHub is a social platform for competitive programming problems, designed to connect problem solvers worldwide through shared content and recommendations. +gitgud is a social platform for competitive programming problems, designed to connect problem solvers worldwide through shared content and recommendations. ## Governance Structure diff --git a/sql/README.md b/sql/README.md index ed59906..f92bc3a 100644 --- a/sql/README.md +++ b/sql/README.md @@ -1,6 +1,6 @@ -# AlgoHub Database Schema +# gitgud Database Schema -This directory contains the SQL files that define the database schema for AlgoHub. +This directory contains the SQL files that define the database schema for gitgud. ## Directory Structure diff --git a/sql/init.sql b/sql/init.sql index b80c45c..e2cd86a 100644 --- a/sql/init.sql +++ b/sql/init.sql @@ -1,33 +1,22 @@ --- AlgoHub Database Schema Initialization +-- gitgud Database Schema Initialization -- This file includes all the necessary SQL files to set up the database schema - -- Enable UUID extension if not already enabled CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; - -- Common utility functions -\i common/utility_functions.sql - --- Authentication and user management -\i auth/user_roles.sql -\i auth/user_triggers.sql - --- Problem-related tables and functions -\i problems/problems.sql -\i problems/user_problem_feedback.sql -\i problems/user_solved_problems.sql -\i problems/problem_functions.sql - --- Contest-related tables and functions -\i contests/contests.sql -\i contests/user_contest_participation.sql -\i contests/user_contest_feedback.sql -\i contests/contest_functions.sql - --- Leaderboard functions -\i leaderboard/leaderboard_functions.sql - --- Grant necessary permissions -GRANT USAGE ON SCHEMA public TO anon, authenticated, service_role; -GRANT ALL ON ALL TABLES IN SCHEMA public TO anon, authenticated, service_role; -GRANT ALL ON ALL FUNCTIONS IN SCHEMA public TO anon, authenticated, service_role; -GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO anon, authenticated, service_role; +\ i common / utility_functions.sql -- Authentication and user management +\ i auth / user_roles.sql \ i auth / user_triggers.sql -- Problem-related tables and functions +\ i problems / problems.sql \ i problems / user_problem_feedback.sql \ i problems / user_solved_problems.sql \ i problems / problem_functions.sql -- Contest-related tables and functions +\ i contests / contests.sql \ i contests / user_contest_participation.sql \ i contests / user_contest_feedback.sql \ i contests / contest_functions.sql -- Leaderboard functions +\ i leaderboard / leaderboard_functions.sql -- Grant necessary permissions +GRANT USAGE ON SCHEMA public TO anon, + authenticated, + service_role; +GRANT ALL ON ALL TABLES IN SCHEMA public TO anon, + authenticated, + service_role; +GRANT ALL ON ALL FUNCTIONS IN SCHEMA public TO anon, + authenticated, + service_role; +GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO anon, + authenticated, + service_role; \ No newline at end of file diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte index 0c3837d..c6686b1 100644 --- a/src/lib/components/Footer.svelte +++ b/src/lib/components/Footer.svelte @@ -8,11 +8,11 @@
- © {new Date().getFullYear()} AlgoHub + © {new Date().getFullYear()} gitgud
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index b4e77d7..833139c 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -406,7 +406,7 @@ onMount(() => { - AlgoHub + gitgud diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index da06dc0..0b3879a 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -1,17 +1,17 @@ - AlgoHub | About + gitgud | About
-

AlgoHub

+

gitgud

- AlgoHub is a collection of hand-picked problems. If you are new to competitive programming you + gitgud is a collection of hand-picked problems. If you are new to competitive programming you can learn the fundamentals at some of these sites:

    @@ -50,7 +50,7 @@

    It's a great approach, but the quality of problems on any given archive can vary greatly. If only there were a way to extract the highest quality problems available on the internet. We - think we can do this! AlgoHub is a social site that allows users to curate and maintain their + think we can do this! gitgud is a social site that allows users to curate and maintain their own lists of recommendations.

    @@ -61,7 +61,7 @@ problems.

    - AlgoHub aims to collect these Canon Problems to enable you to maximize the effectiveness of + gitgud aims to collect these Canon Problems to enable you to maximize the effectiveness of your practice by leveraging the collective knowledge of the competitive programming community.

@@ -99,7 +99,7 @@

Algorithm Libraries

-

AlgoHub's Library of Choice

+

gitgud's Library of Choice

  • Contribute

    - AlgoHub is an open-source project, and we welcome contributions from the community. If you'd - like to help improve AlgoHub, please check out our GitHub repository. diff --git a/src/routes/contests/+page.svelte b/src/routes/contests/+page.svelte index ccd3028..10ee766 100644 --- a/src/routes/contests/+page.svelte +++ b/src/routes/contests/+page.svelte @@ -310,7 +310,7 @@ onMount(() => { - AlgoHub | Contests + gitgud | Contests diff --git a/src/routes/leaderboard/+page.svelte b/src/routes/leaderboard/+page.svelte index aabb6c3..09e1dce 100644 --- a/src/routes/leaderboard/+page.svelte +++ b/src/routes/leaderboard/+page.svelte @@ -33,7 +33,7 @@ onMount(() => { - AlgoHub | Leaderboard + gitgud | Leaderboard diff --git a/src/routes/submit/+page.svelte b/src/routes/submit/+page.svelte index e6e5552..9ec229b 100644 --- a/src/routes/submit/+page.svelte +++ b/src/routes/submit/+page.svelte @@ -51,7 +51,7 @@ onMount(() => { - AlgoHub | Submit + gitgud | Submit

    diff --git a/src/routes/submit/codeforces/+page.svelte b/src/routes/submit/codeforces/+page.svelte index db52885..10dc156 100644 --- a/src/routes/submit/codeforces/+page.svelte +++ b/src/routes/submit/codeforces/+page.svelte @@ -275,7 +275,7 @@ async function processUrls() { - AlgoHub | Submit Codeforces + gitgud | Submit Codeforces
    diff --git a/src/routes/submit/kattis/+page.svelte b/src/routes/submit/kattis/+page.svelte index 3b9123e..4f55866 100644 --- a/src/routes/submit/kattis/+page.svelte +++ b/src/routes/submit/kattis/+page.svelte @@ -9,7 +9,7 @@ import { - AlgoHub | Submit Kattis + gitgud | Submit Kattis