Skip to content

mjmelito/TravelPlanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NomadCraft

By Sierra Rhodes, Justin Shaffer, Matt Melito

This simple web application is designed to be used as a travel planner that allows the user to input their destinations, mode of transportation, lodging and then displaying them in the trip they name and create.

Technologies Used

  • ASP.Net
  • C#
  • MySQL
  • HTML
  • CSS
  • JavaScript

Description

This is a travel planner application that allows the user to create a trip and store their created destinations, mode of transportation, and lodging. The user has full CRUD functionality for each one. They can create, see the details, edit, and delete for each thing they create. The user can register and login and logout.

Setup/Installation Requirements

  • Install .NET 6
  • clone the repository
  • Navigate to 'TravelPlanner.Solution' directory in your terminal
  • Open the project in any text editor/ VSCode preferably
  • Commit changes to your respository
  • Create a new file called appsettings.json
  • _Add the following code to the appsettings.json file you created:
{ "ConnectionStrings": { "DefaultConnection": "Server=localhost;Port=3306;database=[NAME-YOU-WANT-FOR-YOUR-DATABASE];uid=[YOUR-USERNAME-HERE];pwd=[YOUR-PASSWORD-HERE];" } }

Recreating the Database

  • To add a migration naviate to TravelPlanner.Solution in your command line
  • Navigate to TravelPlanner
  • Run dotnet build
  • Run the command "dotnet tool install --global dotnet-ef --version 6.0.0
  • Run the command "dotnet add package Microsoft.EntityFrameworkCore.Design -v 6.0.0"
  • Run the command "dotnet ef migrations add Initial"
  • Run "dotnet ef database update" in your command line.
  • Run dotnet watch run

Known Bugs

  • None

License

Copyright 2023 Sierra Rhodes, Justin Shaffer, Matt Melito

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._

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published