프로젝트
GitHub에서 보기
benawad/codeponder
소개
Marketplace for Code Reviews
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCode Ponder
A Marketplace for Code Reviews
A project that I'm live coding daily on Twitch.
Contributing
Anyone 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
You can view the current figma mockup here and you can ask for edit permissions in this issue: https://github.com/benawad/codeponder/issues/2
Important links
Packages
server
- GraphQL server built with Node.js, Typescript, Type-GraphQL, Redis, and PostgreSQL
web
- Next.js React website using Typescript
ui
- React Component library using Storybook
common
- shared Typescript code between server and web
Installing
- Clone and install dependecies
git clone https://github.com/benawad/codeponder.git
cd codeponder
yarn
- Make sure you have PostgreSQL running on your computer with a database called
codeponder2and a user who has access to that database with the usernamepostgresand passwordpostgres
- Mac: https://www.codementor.io/engineerapart/getting-started-with-postgresql-on-mac-osx-are8jcopb
- Windows: https://www.guru99.com/download-install-postgresql.html
- Docker: https://www.youtube.com/watch?v=G3gnMSyX-XM
- Linux: you know what your doing
- How to create a user: https://medium.com/coding-blocks/creating-user-database-and-adding-access-on-postgresql-8bfcd2f4a91e
- Make sure you have Redis running on your computer
- Mac: https://medium.com/@petehouston/install-and-config-redis-on-mac-os-x-via-homebrew-eb8df9a4f298
- Windows: https://redislabs.com/blog/redis-on-windows-10/
- Linux: you know what your doing
- Build the common and ui package by running the following command in the root directory
yarn build:deps
- Setup Github client id and secret by going to https://github.com/settings/applications/new
- you can set
Application nameto anything you want Homepage URLcan be either- https://github.com/benawad/codeponder (to connect w/main instance at codeponder.com)
- https://localhost:3000 (to connect to instance on your computer locally)
Authorization callback URL
- Create a
.envfile inpackages/serverand fill in your client id and secret
GITHUB_CLIENT_ID=<YOUR_CLIENT_ID_HERE>
GITHUB_CLIENT_SECRET=<YOUR_CLIENT_SECRET_HERE>
DB_USER=postgres
DB_PASS=postgres
SESSION_SECRET=asjdfkljaklsfs
- While in the
serverpackage you can start the server with
yarn start
To verified it worked, you can go to http://localhost:4000
- While in the
webpackage you can start the website with
yarn dev
The website should be available at http://localhost:3000 now
- I would recommend running
yarn watch
In the ui package so it rebuilds it whenever you make changes.
If you need any help setting this up feel free to message me on Discord: https://discord.gg/Vehs99V
관련 프로젝트 살펴보기
불러오는 중…