Skip to content

As a user, I want to be able to post about travel locations and provide comments and ratings. As a user, I want to be able to look at other users posts and search travel locations by rating.

Metelak/Travel-bug

Repository files navigation

Travel-bug License: MIT

Table of Contents


User-Story

As a user I want to be able to look at travel locations and see comments, photos and ratings to plan my next trip.

Description

To collab with teammates to develop a full-stack web application. Travel Bug is a webpage that hosts travel locations posted by users that allows individual users to browse for travel information and like locations to save to their personal login page. It also, lets the user create new location posts for other users to see in the homepage and lets them rate 1-5 stars on their trip/experience going to that location.

Preview

travelbug-preview

Installation

Step 1. Download Travel-bug repo to local file and open files in VS Code

Step 2. Type "npm install" or "npm i" in command line to install all the dependencies

Step 3. create a .env file and add code below with your MySql credintals

 DB_NAME='travelbug_db'
 DB_USER='your-mysql-username'
 DB_PASSWORD='your-mysql-password'

Step 4. Source the schema

  • Login in to MySql shell - mysql -u <username> -p
  • Run command to source schema - source db/schema.sql

Step 5. Seed the tables

npm run seed

Usage

  • To run the server locally after installation Run
    npm start
    
  • Or visit our webpage Travel Bug

Packages

Future Developments

  • Allow user to "like" a location by clicking "Add to My Travels" and save the users likes in their personal dashboard
  • Average the ratings for each location to show on the location cards and eventually connect the user to a separate page to let them view by ratings
  • Pull in other APIs to connect user to travel deals, flights, activities to do why vacationing to that location, languages spoken at that location, etc.

Contributions

Group collaborators:

Tests

  • If you'd like to test the routes, run the server using Insomnia

License

The MIT License (MIT) Copyright © 2022

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Questions

If any questions arise..

About

As a user, I want to be able to post about travel locations and provide comments and ratings. As a user, I want to be able to look at other users posts and search travel locations by rating.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •