Skip to content

Wangchimei/TripHub

Repository files navigation

Logo

Link to Triphub

A graduation project of a four-month coding bootcamp in DIVE INTO CODE.
Triphub is where travel enthusiasts can share their travel schedules while exploring the world.
This application is built with Ruby on Rails and hosted with Heroku.


概要

旅行スケジュールの計画とシェアができるアプリです。
他のユーザの公開した旅行スケジュールを参照できます。
気になるスポットを見つけたらその場で保存、自分のオリジナルプランを作成することができます。

バージョン情報

Ruby 2.6.5
Rails 5.2.3

機能一覧

  • ユーザ

    • ユーザ登録機能
    • ユーザログイン機能(及びパスワードリセット)
    • ユーザフォーロー機能
  • トリップ / スケジュール

    • トリップを作成、編集、削除機能
    • ユーザが公開中のスケジュールの一覧表示
    • 公開中のスケジュールから観光スポットを保存機能
    • スケジュールに入れましたスポットを Google Map にて表示機能
    • スポットで使う費用から、トリップの費用概算機能
  • 観光スポット

    • 観光スポット作成(Google Places Library)
    • スポット保存機能

カタログ設計

Please see details Here

テーブル定義書

Please see details Here

画面遷移図

ER 図

ワイヤーフレーム

使用予定 Gem

  • devise
  • devise-i18n
  • devise-i18n-views
  • geocoder
  • google_places
  • unsplash
  • carrierwave
  • mini_magick
  • fog-aws
  • faker
  • bootstrap
  • jquery-rails
  • font-awesome-sass
  • dotenv-rails
  • letter_opener_web

How to set up

  1. Clone this repo

    git clone https://github.com/Wangchimei/TripHub.git
    
  2. Install necessary gem

    bundle install
    
  3. Create database and run migration

    rails db:create db:migrate
    
  4. Import countries, states and cities database

    rake import:continents
    rake import:countries
    rake import:states
    rake import:cities
    
  5. Import sightseeing spots sample data

    rake import:spots
    
  6. Create seed data

    rails db:seed
    
  7. Run test

    bundle exec rspec
    
  8. Start server

    rails s
    

About

A graduation project of a four-month coding bootcamp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published