Skip to content

Taro000/monsi_api_beta_v2

Repository files navigation

MONSI API Beta V2

ER図

Monsi_Django_Models_for_Betaのコピー

UI

カスタマーApp

スクリーンショット 2020-07-08 16 29 25

スタイリストApp

スクリーンショット 2020-07-08 16 29 13

API

Stylist-Beta API

<エンドポイント一覧 - List of Endpoint>

ホーム(Home) /api.stylist.beta/home/ B/A写真(Edit B/A photos) /api.stylist.beta/edit-catalogs/ スケジュール管理(Manage Schedule) /api.stylist.beta/schedule/?year=●●&month=●●&day=●● ——— 名前とメアドの変更(Change name and email address) /api.stylist.beta/users/ # Djangoのモデル上の制約 パスワードの変更(Change Password) /api.stylist.beta/password-fresh/ メニューを追加(Add a menu) /api.stylist.beta/menus メニューを編集・削除(Edit/Delete a menu)  /api.stylist.beta/menus/ B/A写真を追加(Add a B/A photo) /api.stylist.beta/catalogs B/A写真を編集・削除(Edit/Delete a B/A photo) /api.stylist.beta/catalogs/ 予約を追加(Add a reservation) /api.customer.beta/reserve-and-history/ 予約を編集・削除(Edit/Delete a reservation) /api.customer.beta/reserve-and-history/ ——— ユーザー登録(Register) /api.stylist.beta/register トークン発行(ログイン)(Generate a Token—Login) /api.stylist.beta/auth-token

<エンドポイント別データ一覧 - List of data on each Endpoint>

[] はその中の内容でリスト形式を作るという意味 [] means List which is made with data in [].

ホーム(Home) /api.stylist.beta/home/ (GET, PUT) GET @first_name @last_name @img @year @phone_number @rate_average @menus[ @menu_name @menu_img @price @time @api ] @salon_name @place @access @salon_img @next_api[ @/api.stylist.beta/edit-catalogs/ @/api.stylist.beta/schedule/ @/api.stylist.beta/menus @/api.stylist.beta/users/ @/api.stylist.beta/password-fresh/ ]

PUT @img @year @phone_number @salon_name @place @access @salon_img

名前とメアドの変更(Change name and email address) /api.stylist.beta/users/ (PUT) PUT @last_name @first_name @email

パスワードの変更(Change Password) /api.stylist.beta/users/ (PUT) PUT @old_password @new_password

メニューの追加(Add a new menu) /api.stylist.beta/menus (POST) POST @menu_name @price @time @img @color #Bool data which color or an another(True=Color, False=Damage hair)

メニューの変更・削除(Edit a menu) /api.stylist.beta/menus/ (PuT, DELETE) PUT @menu_name @price @time @img @color #Bool data which color or an another(True=Color, False=Damage hair)

DELETE

B/A写真(Edit B/A photos) /api.stylist.beta/edit-catalogs/ (GET) GET @catalogs[ @before_img @after_img @menu @year @male @api ] @next_api[ @/api.stylist.beta/home/ @/api.stylist.beta/schedule/ @/api.stylist.beta/catalogs ]

B/A写真の追加(Add a B/A photo) /api.stylist.beta/catalogs (POST) POST @before_img @after_img @menu @year @male #Bool data which Male or an another(True=Male, False=Female)

B/A写真の編集・削除(Edit/Delete a B/A photo) /api.stylist.beta/catalogs/ (PUT, DELETE) PUT @before_img @after_img @menu @year @male #Bool data which Male or an another(True=Male, False=Female)

DELETE

スケジュール(Manage Schedule) /api.stylist.beta/schedule/?year=●●&month=●●&day=●● (GET) GET @reserves[ @menu_name @price @customer_name @datetime @place @phone @api ] @ @next_api[ @/api.stylist.beta/home/ @/api.stylist.beta/edit-catalogs/ @/api.stylist.beta/reserve-and-history @/api.stylist.beta/ # To make an Un-Reserved space. @/api.stylist.beta/catalogs ]

予約の追加(Add a Reservstion) /api.stylist.beta/reserve-and-history (POST) POST @menu @datetime

予約を編集する・キャンセルする(Edit/Cancel a Reservation) /api.customer.beta/reserve-and-history/ (PUT, DELETE) PUT @menu @datetime

DELETE

ユーザー登録(Register) /api.stylist.beta/register (POST) POST @username @email @password

トークン発行(ログイン)(Generate Token—Login) /api.stylist.beta/auth-token (POST) POST @username @password

Customer-Beta API

<エンドポイント一覧 - List of Endpoint>

ホーム(未ログイン)(Home—not logged in) /api.customer.beta/home/ ——— ホーム(Home) /api.customer.beta/home/ 予約確認(Check Reserves) /api.customer.beta/reserves/ 予約履歴(Reservation Logs) /api.customer.beta/logs/ ユーザー設定(User Setting) /api.customer.beta/setting/ ——— 名前とメアドの変更(Change name and email address) /api.customer.beta/users/ # Djangoのモデル上の制約 パスワードの変更(Change Password) /api.customer.beta/password-fresh/ 予約(Make a Reservation) /api.customer.beta/reserve-and-history ——— ユーザー登録(Register) /api.customer.beta/register トークン発行(ログイン)(Generate a Token—Login) /api.customer.beta/auth-token

<エンドポイント別データ一覧 - List of data on each Endpoint>

[] はその中の内容でリスト形式を作るという意味 [] means List which is made with data in [].

ホーム(Home) /api.customer.beta/home (GET) GET @catalogs[ @before_img @after_img @stylist_name @rate_average @year @menus[ @menu_name @img @price @time ] @salon_name @place @access @salon_img ] @next_api[ @/api.customer.beta/register ]

/api.customer.beta/home/ (GET) GET @catalogs[ @before_img @after_img @stylist_name @rate_average @year @menus[ @menu_name @img @price @time ] @salon_name @place @access @salon_img ] @next_api[ @/api.customer.beta/reserves/ @/api.customer.beta/logs/ @/api.customer.beta/setting/ @/api.customer.beta/reserve-and-history ]

予約する(Make a Reservation) /api.customer.beta/reserve-and-history (POST) POST @menu @datetime

予約確認(Check Reserves) /api.customer.beta/reserves/ (GET) GET @stylist_name @menu_name @proce @time(何時 - 何時) @place @phone_number @next_api[ @/api.customer.beta/home/ @/api.customer.beta/logs/ @/api.customer.beta/setting/ @/api.customer.beta/reserve-and-history/ #予約キャンセル用 ]

予約をキャンセルする(Cancel a Reservation) /api.customer.beta/reserve-and-history/ (DELETE) DELETE

予約履歴(Reservation Logs) /api.customer.beta/logs/ (GET) GET @logs[ @stylist_name @rate_average @place @menu_name @datetime @place @phone_number ] @next_api[ @/api.customer.beta/home/ @/api.customer.beta/reserves/ @/api.customer.beta/setting/ ]

ユーザー設定(User Setting) /api.customer.beta/logs/ (GET, PUT) GET @last_name @first_name @email @img @age @gender @phone_number @next_api[ @/api.customer.beta/home/ @/api.customer.beta/reserves/ @/api.customer.beta/logs/ @/api.customer.beta/users/ @/api.customer.beta/password-fresh/ ]

PUT @img @age @gender @phone_number

名前とメアドの変更(Change name and email address) /api.customer.beta/users/ (PUT) PUT @last_name @first_name @email

パスワードの変更(Change Password) /api.customer.beta/users/ (PUT) PUT @old_password @new_password

ユーザー登録(Register) /api.customer.beta/register (POST) POST @username @email @password

トークン発行(ログイン)(Generate Token—Login) /api.customer.beta/auth-token (POST) POST @username @password

About

MONSIの美容師アプリ/ユーザーアプリのベータ版API(バージョン2)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages