coderplanets_server
coderplanets_server copied to clipboard
coderplanets.com API(GraphQL) server, build with elixir, phoenix, absinthe
check [wechat pay in elixir](https://github.com/linjunpop/wechat_pay) [alipay in elixir](https://github.com/davidqhr/elixir-alipay) [alipay doc](https://docs.open.alipay.com/62/103566)
1. user can create / remove categories 2. user can set / unset categories to content
some code like ```elixir field :paged_posts, :paged_posts do arg(:filter, non_null(:paged_article_filter)) middleware(M.PageSizeProof) resolve(&Resolvers.CMS.paged_posts/3) middleware(M.FormatPagination) end ``` some file like [page_post_test](https://github.com/coderplanets/coderplanets_server/blob/dev/test/mastani_server_web/query/paged_posts_test.exs) has lots of boilerplate code with `job`, `video`, `repo` ... should...
## thoughts display recent messages/activity in twitter/weibo/youtube ... etc ## tools [RssHub](https://github.com/DIYgod/RSSHub) [Elixir-rss](https://github.com/BennyHallett/elixir-rss) [fiet](https://github.com/qcam/fiet) [elixir-scrape](https://github.com/Anonyfox/elixir-scrape)
## thoughts 1. only advance account can set tip QR info 2. QR code(if set) should appear in user-page / article-bottom
currently delivery context uses cms's passport system, should make one for delivery.
when create comment to a Article, the Article's `updated_at` field should be updated together, this is useful when use filter like latest-update to the articles list, which is default filter
like [react-gh-like-diff](https://github.com/neighborhood999/react-gh-like-diff)