dwyl / dwyl/github-backup

Epic: Define (Ecto) PostgreSQL Database Schema

オープン
#15 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement epic T1h technical
主要言語
Elixir
スター
33
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

説明

All the "Meta Data" (_anything that is not an issue comment, which is Markdown/"Rich Text"_)
of issues will be stored in a PostgreSQL Database.

With reference to the GitHub API for `users`, `issues` and `comments`,
we need to create the Ecto (Database) Schema for the three DB tables.
We are going to "normalise" the data and let Ecto construct the queries.

+ [ ] Users: https://developer.github.com/v3/users
+ [x] Issues: https://developer.github.com/v3/issues
+ [x] Comments: https://developer.github.com/v3/issues/comments

Our aim is to match the _field names_ in the GitHub API _exactly_
so we keep an _exact_ copy the data that people can _easily_ download
if they want to have a Local Copy. (_don't worry, we aren't building the download feature **yet**!_)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

リンクされているユーザー、issue、issue コメント向けの GitHub API ドキュメントから始め、次にリポジトリを調べて Ecto スキーマと migration のエントリーポイントを見つけてください。3 つすべてのリソースについて、GitHub API のフィールド名をそのまま正確に保持した正規化データベーステーブルを定義できれば完了です。チェックリストでは issue とコメントは完了になっていますが、ユーザーはまだ未対応です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
elixir, postgresql
領域
databases
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。