LoginSignup
0
0

More than 3 years have passed since last update.

学習のためにQiitaのクローンサイトを作ろうと思ったのでまずは、URLから調べてみた。

Last updated at Posted at 2020-02-04

背景

qiitaのクローンを作りたくてurlがどうなっているか調べてみました。

目次

  • 一覧
  • 各URLの内容
  • 調べてみて

一覧

qiita.com/
    ├ {ユーザー名}/
    │    ├ items/
    │    │    └ {記事ID}/
    │    ├ contributes/
    │    ├ followers/
    │    ├ likes/
    │    ├ privates/
    │    └ comments/
    ├ advent-calendar/
    │    └ {西暦}/
    │         ├ {カレンダー名}/
    │         ├ categories/
    │         │    └ {カテゴリー名}
    │         └ rankings/
    │              ├ subscription/
    │              │    └ categories/...
    │              └ feedbacks/
    │                   └ categories/...
    ├ drafts/
    │    ├ new/
    │    └ {記事ID}/
    │        └ edit/
    ├ organizations/
    │    └ {組織名}
    │         └ members/
    ├ search/
    ├ settings/
    │    ├ account/
    │    ├ analytics/
    │    ├ application/
    │    ├ mutes/
    │    ├ notifications/
    │    ├ organization/
    │    ├ password/
    │    ├ profile/
    │    ├ security/
    │    └ two_factor
    ├ stocks
    ├ tags/
    │    └ {タグ名}/
    ├ tag-feed/
    ├ timeline/
    └ users/

URLの内容

qiita.com

ドメイン名。ホーム画面と記事のトレンドを表示する

URLパラメータ
  • ?search・・・トレンドの週間と月間を指定する。日間はパラメータを指定しないとき表示される。

search/へのGET(パラム渡し)。その他リンクへのGET

{ユーザー名}

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0