{"id":19961857,"url":"https://github.com/chuksjoshuaa/reddit-project","last_synced_at":"2026-04-09T11:03:03.144Z","repository":{"id":65106806,"uuid":"565494649","full_name":"ChuksJoshuaa/Reddit-Project","owner":"ChuksJoshuaa","description":"Built a Full stack Typescript project with GraphQL, PostgreSQL, Typeorm, Chakra UI, Redis and so much more. Users can Login and Register to access the full functionalities of the website. Users can upvote and downvote a particular post. Check it out!","archived":false,"fork":false,"pushed_at":"2024-01-29T04:34:28.000Z","size":1170,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T16:47:53.155Z","etag":null,"topics":["apollo-server-express","chakra-ui","graphql","mikro-orm","nextjs","nodejs","postgresql","typeorm","typescript","urql"],"latest_commit_sha":null,"homepage":"https://client-reddit.vercel.app/","language":"TypeScript","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/ChuksJoshuaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2022-11-13T15:37:40.000Z","updated_at":"2023-02-21T11:50:54.000Z","dependencies_parsed_at":"2024-01-29T06:06:44.356Z","dependency_job_id":null,"html_url":"https://github.com/ChuksJoshuaa/Reddit-Project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChuksJoshuaa/Reddit-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FReddit-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FReddit-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FReddit-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FReddit-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChuksJoshuaa","download_url":"https://codeload.github.com/ChuksJoshuaa/Reddit-Project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuksJoshuaa%2FReddit-Project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268512159,"owners_count":24261887,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["apollo-server-express","chakra-ui","graphql","mikro-orm","nextjs","nodejs","postgresql","typeorm","typescript","urql"],"created_at":"2024-11-13T02:08:39.450Z","updated_at":"2025-12-30T21:51:11.786Z","avatar_url":"https://github.com/ChuksJoshuaa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reddit Full Stack Typescript Application\n\n\u003cimg src=\"https://res.cloudinary.com/chuksmbanaso/image/upload/v1671505260/media/Screenshot_297_yrmsqk.png\" title=\"icon\" alt=\"icon\"\u003e.\n## GraphQL Queries \u0026 Mutations\n\n## Queries\n\n### Get all posts\n\n```\nquery Posts($limit: Int!, $cursor: String) {\n  posts(cursor: $cursor, limit: $limit) {\n    hasMore\n    posts {\n      id\n      title\n      points\n      descriptionSnippet\n      createdAt\n      updatedAt\n      voteStatus\n      author {\n        id\n        username\n        email\n      }\n    }\n  }\n}\n\n```\n\n### Get a single post\n\n```\nquery Post($id: Int!) {\n  post(id: $id) {\n    id\n    title\n    description\n    authorId\n    points\n    createdAt\n    updatedAt\n  }\n}\n\n```\n\n### Get user\n\n```\nquery Me {\n  me {\n    id\n    username\n  }\n}\n\n```\n\n##Mutations\n\n### Create a new post\n\n```\nmutation CreatePost($input: PostInput!) {\n  createPost(input: $input) {\n    id\n    title\n    description\n    authorId\n    points\n    createdAt\n    updatedAt\n  }\n}\n\n```\n\n### Update a post\n\n```\nmutation UpdatePost(\n  $id: Int!\n  $authorId: Int!\n  $title: String!\n  $description: String!\n) {\n  updatePost(\n    id: $id\n    authorId: $authorId\n    title: $title\n    description: $description\n  ) {\n    id\n    title\n    description\n    descriptionSnippet\n  }\n}\n\n```\n\n### Delete Post\n\n```\nmutation DeletePost($id: Int!, $authorId: Int!) {\n  deletePost(id: $id, authorId: $authorId)\n}\n\n```\n\n### Login\n\n```\n\nmutation Login($email: String!, $password: String!) {\n  login(email: $email, password: $password) {\n    errors {\n      field\n      message\n    }\n    user{\n      id\n      username\n      email\n      createdAt\n    }\n  }\n}\n\n\n```\n\n### Register\n\n```\nmutation Register($email: String!, $username: String!, $password: String!) {\n  register(\n    options: { email: $email, username: $username, password: $password }\n  ) {\n     errors {\n      field\n      message\n    }\n    user{\n      id\n      username\n      email\n    }\n  }\n}\n\n\n```\n\n### Logout\n\n```\nmutation Logout {\n  logout\n}\n\n```\n\n### vote\n\n```\nmutation Vote($value: Int!, $postId: Int!) {\n  vote(value: $value, postId: $postId)\n}\n\n```\n\n### Forgot Password\n\n```\nmutation ForgotPassword($email: String!) {\n  forgotPassword(email: $email)\n}\n\n```\n\n### Change Password\n\n```\nmutation ChangePassword($token: String!, $newPassword: String!) {\n  changePassword(token: $token, newPassword: $newPassword) {\n     errors {\n      field\n      message\n    }\n    user{\n      id\n      username\n      email\n    }\n  }\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuksjoshuaa%2Freddit-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchuksjoshuaa%2Freddit-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuksjoshuaa%2Freddit-project/lists"}