ryuta1346 / beautyspaces Goto Github PK
View Code? Open in Web Editor NEW美容室のデッドスペースを美容師に時間貸しできるサービス作成中
美容室のデッドスペースを美容師に時間貸しできるサービス作成中
・サロンとスタイリストは、admin配下に管理ページ
・ユーザーが美容師・美容室の予約を取るためのモデル
・予約処理はトランザクションを用いてスタイリスト予約とサロン予約どちらも成功した場合のみデータを保存する
user_id:ユーザーID
stylist_reserve_id:スタイリスト予約ID
salon_reserve_id:サロン予約ID
・カテゴリー名
・サロンで空き時間を登録するためのモデル
・予約できる時間を登録できるようにする
・サロンとの関係は1対多
・同じ時間帯で複数の予約ができるようにするには、予約可能数分のデータを作成する
・booking_time:予約可能時間
・スタイリストはサロンモデルと1対多の関係で、スタイリスト側がbelongs_toに
1.name:名前
2.tel:電話番号
3.email:Emailアドレス
4.stylist_since:スタイリスト歴(開始年)
5.actively_scope:活動範囲
6.cut_price:カット価格
・'rspec-rails'と'factory-bot-rails'をbundle installしてRSpecでテストを実装できるようにする
・rubocopを導入
・スタイリストモデルと1対多の関係
menu:メニュー名
menu_price:メニュー価格
operation_time:施術時間
1.name:名前
2.tel:電話番号
3.email:Emailアドレス
4.birth_year:生年
・スタイリストが予約を受け付けられる時間などのレコードを登録できるようにする
・スタイリストモデルとの関係は1対多
menu_id:メニューID
booking_time:予約可能時間
・サロンはカテゴリーモデルと多対多の関係(中間テーブル(SalonCategory)を置く)
->サロンの中でスタイリストも所属しているし、ネイリストも所属しているようなケースも想定
・pry関係のライブラリの導入
・hirb周りのライブラリの導入
・ER図作成できるようにする
*Evernoteのメモ参照
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.