{"id":16192841,"url":"https://github.com/benawad/codeponder","last_synced_at":"2025-04-07T08:26:16.132Z","repository":{"id":40267642,"uuid":"157951371","full_name":"benawad/codeponder","owner":"benawad","description":"Marketplace for Code Reviews","archived":false,"fork":false,"pushed_at":"2022-06-20T09:50:08.000Z","size":7409,"stargazers_count":282,"open_issues_count":15,"forks_count":49,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-31T07:06:29.434Z","etag":null,"topics":["graphql","marketplace","node","postgresql","react","review","typescript"],"latest_commit_sha":null,"homepage":"","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/benawad.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}},"created_at":"2018-11-17T04:43:37.000Z","updated_at":"2025-03-23T13:19:52.000Z","dependencies_parsed_at":"2022-06-27T11:13:23.360Z","dependency_job_id":null,"html_url":"https://github.com/benawad/codeponder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Fcodeponder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Fcodeponder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Fcodeponder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benawad%2Fcodeponder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benawad","download_url":"https://codeload.github.com/benawad/codeponder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247617189,"owners_count":20967547,"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":["graphql","marketplace","node","postgresql","react","review","typescript"],"created_at":"2024-10-10T08:12:54.379Z","updated_at":"2025-04-07T08:26:16.100Z","avatar_url":"https://github.com/benawad.png","language":"TypeScript","readme":"# Code Ponder\n\n### A Marketplace for Code Reviews\n\nA project that I'm live coding daily on [Twitch](https://www.twitch.tv/benawad).\n\n## Contributing\n\nAnyone is welcome to contribute code or designs. Here's a walkthrough on how to add components to the ui package: https://youtu.be/WDk5O-yaoCQ\n\nYou can view the current figma mockup [here](https://www.figma.com/proto/hM2nbxqxBH4k8cpE3JEL3q/code-ponder-collaboration) and you can ask for edit permissions in this issue: https://github.com/benawad/codeponder/issues/2\n\n## Important links\n\n- [YouTube Recordings](https://www.youtube.com/playlist?list=PLN3n1USn4xlkeX3ngnRS1G01SEfQGgHWr)\n- [spec](https://github.com/benawad/codeponder/issues/1)\n\n## Packages\n\n- server\n  - GraphQL server built with Node.js, Typescript, [Type-GraphQL](https://19majkel94.github.io/type-graphql/), Redis, and PostgreSQL\n- web\n  - Next.js React website using Typescript\n- ui\n  - React Component library using Storybook\n- common\n\n  - shared Typescript code between server and web\n\n  # Installing\n\n1. Clone and install dependecies\n\n```\ngit clone https://github.com/benawad/codeponder.git\ncd codeponder\nyarn\n```\n\n2. Make sure you have PostgreSQL running on your computer with a database called `codeponder2` and a user who has access to that database with the username `postgres` and password `postgres`\n\n- Mac: https://www.codementor.io/engineerapart/getting-started-with-postgresql-on-mac-osx-are8jcopb\n- Windows: https://www.guru99.com/download-install-postgresql.html\n- Docker: https://www.youtube.com/watch?v=G3gnMSyX-XM\n- Linux: you know what your doing\n- How to create a user: https://medium.com/coding-blocks/creating-user-database-and-adding-access-on-postgresql-8bfcd2f4a91e\n\n3. Make sure you have Redis running on your computer\n\n- Mac: https://medium.com/@petehouston/install-and-config-redis-on-mac-os-x-via-homebrew-eb8df9a4f298\n- Windows: https://redislabs.com/blog/redis-on-windows-10/\n- Linux: you know what your doing\n\n4. Build the common and ui package by running the following command in the root directory\n\n```\nyarn build:deps\n```\n\n5. Setup Github client id and secret by going to https://github.com/settings/applications/new\n\n- you can set `Application name` to anything you want\n- `Homepage URL` can be either\n  - https://github.com/benawad/codeponder (to connect w/main instance at codeponder.com)\n  - https://localhost:3000 (to connect to instance on your computer locally)\n- `Authorization callback URL`\n  - http://localhost:4000/oauth/github\n\n5. Create a `.env` file in `packages/server` and fill in your client id and secret\n\n```\nGITHUB_CLIENT_ID=\u003cYOUR_CLIENT_ID_HERE\u003e\nGITHUB_CLIENT_SECRET=\u003cYOUR_CLIENT_SECRET_HERE\u003e\nDB_USER=postgres\nDB_PASS=postgres\nSESSION_SECRET=asjdfkljaklsfs\n```\n\n6. While in the `server` package you can start the server with\n\n```\nyarn start\n```\n\nTo verified it worked, you can go to http://localhost:4000\n\n7. While in the `web` package you can start the website with\n\n```\nyarn dev\n```\n\nThe website should be available at http://localhost:3000 now\n\n8. I would recommend running\n\n```\nyarn watch\n```\n\nIn the `ui` package so it rebuilds it whenever you make changes.\n\nIf you need any help setting this up feel free to message me on Discord: https://discord.gg/Vehs99V\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenawad%2Fcodeponder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenawad%2Fcodeponder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenawad%2Fcodeponder/lists"}