Git Product home page Git Product logo

furima_28313's Introduction

README

テーブル設計

users テーブル

Column Type Options
nickname string null: false
email string null: false
password string null: false
family_name string null: false
first_name string null: false
family_name_j string null: false
first_name_j string null: false
birth date null: false

Association

  • has_many :items
  • has_many :customers

items テーブル

Column Type Options
name string null: false
image string null: false
price integer null: false
comment text null: false
category integer null: false
status integer null: false
charge integer null: false
send_place integer null: false
send_days integer null: false
user references null: false, foreign_key: true

Association

  • has_one :customer
  • belongs_to :user

sends テーブル

Column Type Options
post_number string null: false
post_place integer null: false
city string null: false
place_number integer null: false
building string
tell string null: false
customer references null: false, foreign_key: true

Association

  • belongs_to :customer

customers テーブル

Column Type Options
user references null: false, foreign_key: true
item references null: false, foreign_key: true

Association

  • has_one :send
  • belongs_to :user
  • belongs_to :item

furima_28313's People

Contributors

tateokohara avatar

Watchers

 avatar

furima_28313's Issues

【依頼】フリマアプリ挙動確認

フリマアプリのURL
https://furima-28313.herokuapp.com/

Basic認証のIDとパスワード
BASIC_AUTH_PASSWORD: 19800915
BASIC_AUTH_USER: tateokohara

出品者用のメールアドレスとパスワード
mail: hub@hub
pass: hub123

購入者用のメールアドレスとパスワード
mail: fuk@fuk
pass: fuk123

購入用カードの番号・期限・セキュリティコード
番号: 4242424242424242
期限: 2/25
セキュリティー: 123

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.