hzoou / membership_airbnb

2019 BoostCamp Membership Mission 4
4 stars 1 forks source link

Welcome to membership-airbnb πŸ‘‹

Version Documentation Maintenance License: ISC

2019 BoostCamp Membership Mission 4

client directory structure

  client
  β”œβ”€β”€ πŸ“‚ public
  |   β”œβ”€β”€ πŸ“„ airbnb-logo.ico
  |   β”œβ”€β”€ πŸ“„ index.html
  |   └── πŸ“„ manifest.json
  └── πŸ“‚ src
      β”œβ”€β”€ πŸ“‚ components
      |   β”œβ”€β”€ πŸ“‚ container
      |   |   β”œβ”€β”€ πŸ“„ RoomCard.js
      |   |   └── πŸ“„ Star.js
      |   β”œβ”€β”€ πŸ“‚ filter
      |   |   β”œβ”€β”€ πŸ“‚ popup
      |   |   |   β”œβ”€β”€ πŸ“„ DateFilter.js
      |   |   |   β”œβ”€β”€ πŸ“„ GuestFilter.js
      |   |   |   β”œβ”€β”€ πŸ“„ OptionFilter.js
      |   |   |   β”œβ”€β”€ πŸ“„ PriceFilter.js
      |   |   |   └── πŸ“„ TypeFilter.js
      |   |   β”œβ”€β”€ πŸ“„ FilterButton.js
      |   |   β”œβ”€β”€ πŸ“„ FilterElements.js
      |   |   └── πŸ“„ FilterPopup.js
      |   β”œβ”€β”€ πŸ“‚ header
      |   |   β”œβ”€β”€ πŸ“„ Navigation.js
      |   |   β”œβ”€β”€ πŸ“„ SearchBar.js
      |   |   └── πŸ“„ SearchIcon.js
      |   β”œβ”€β”€ πŸ“„ Container.js
      |   β”œβ”€β”€ πŸ“„ Filter.js
      |   └── πŸ“„ Header.js
      β”œβ”€β”€ πŸ“‚ img
      |   └── πŸ“„ airbnb-logo.ico
      β”œβ”€β”€ πŸ“‚ style
      |   └── πŸ“„ dateFilter.css
      β”œβ”€β”€ πŸ“„ App.js
      β”œβ”€β”€ πŸ“„ index.css
      β”œβ”€β”€ πŸ“„ index.js
      β”œβ”€β”€ πŸ“„ serviceWorker.js
      └── πŸ“„ setupProxy.js

server directory structure

  server
  β”œβ”€β”€ πŸ“‚ bin
  |   └── πŸ“„ www
  β”œβ”€β”€ πŸ“‚ config
  |   └── πŸ“„ config.js
  β”œβ”€β”€ πŸ“‚ dummy
  |   └── πŸ“„ room-data.js
  β”œβ”€β”€ πŸ“‚ middlewares
  |   β”œβ”€β”€ πŸ“„ auth.js
  |   β”œβ”€β”€ πŸ“„ passport.js
  |   β”œβ”€β”€ πŸ“„ reservation.js
  |   β”œβ”€β”€ πŸ“„ room.js
  |   └── πŸ“„ user.js
  β”œβ”€β”€ πŸ“‚ models
  |   β”œβ”€β”€ πŸ“„ index.js
  |   β”œβ”€β”€ πŸ“„ reservation.js
  |   β”œβ”€β”€ πŸ“„ room.js
  |   └── πŸ“„ user.js
  β”œβ”€β”€ πŸ“‚ routes
  |   β”œβ”€β”€ πŸ“„ index.js
  |   β”œβ”€β”€ πŸ“„ login.js
  |   β”œβ”€β”€ πŸ“„ logout.js
  |   β”œβ”€β”€ πŸ“„ reservation.js
  |   └── πŸ“„ room.js
  β”œβ”€β”€ πŸ“‚ seeders
  |   └── πŸ“„ 20191016054017-room.js
  └── πŸ“„ app.js

.envμ—μ„œ μ‚¬μš©ν•˜λŠ” ν™˜κ²½λ³€μˆ˜

DB_USERNAME=\ DB_PASSWORD=\ DB_DATABASE=\ DB_HOST=\ GOOGLE_CLIENT_ID=\ GOOGLE_CLIENT_SECRET=\ JWT_SECRET=

API

Priview

메인 ν™”λ©΄ (둜그인 ν•˜μ§€ μ•Šμ€ 경우)

메인 ν™”λ©΄ (ꡬ글 둜그인 ν•œ 경우)

λ‚ μ§œ ν•„ν„° 클릭

인원 ν•„ν„° 클릭

μˆ™μ†Œ μœ ν˜• ν•„ν„° 클릭

가격 ν•„ν„° 클릭

ν•„ν„° μΆ”κ°€ν•˜κΈ° ν•„ν„° 클릭

🏠 Homepage

Install

server

cd server
npm install
sequelize db:seed:all

client

cd client
yarn

Run

server

cd client
yarn start

server

cd server
npm start

Version

npm 6.9.0
node 10.16.3
mysql 8.0.17
sequelize 5.19.6

Author

πŸ‘€ hzoou (Woo hyeju)

🀝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

πŸ“ License

Copyright Β© 2019 hzoou (Woo hyeju).
This project is ISC licensed.


This README was generated with ❀️ by readme-md-generator