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
- 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
-
Clone this repo
git clone https://github.com/Wangchimei/TripHub.git
-
Install necessary gem
bundle install
-
Create database and run migration
rails db:create db:migrate
-
Import countries, states and cities database
rake import:continents rake import:countries rake import:states rake import:cities
-
Import sightseeing spots sample data
rake import:spots
-
Create seed data
rails db:seed
-
Run test
bundle exec rspec
-
Start server
rails s