Vacation Planner

This is a vacation planner application with CRUD operations, ASP .NET MVC and Data Tables with API Calls.

By Raya Sodwilai

Technologies Used

  • ASP .NET MVC
  • C#
  • HTML
  • JavaScript
  • CSS

Description

This application allows users to create/plan their future vacations that includes city, number of guest, date and time. Users are also able to add and delete the vacations list.

Pre-requisites

  • C#/.NET5
  • MySQL Workbench
  • Internet Browser
  • A GitHub Account
  • Code Editor such as Visual Studio Code

Setup/Installation Requirements

  • Clone the repository with command $ git clone gitHub-URL-repository
  • Open the repository on your computer in your text editor.
  • Navigate to the Vacation folder & create a file called appsettings.json
  • Once inside appsettings.json, write the following code:
    • { "ConnectionStrings": { "DefaultConnection": "Server=localhost;Port=3306;database=[NAME YOUR DATABASE HERE];uid=[MySQL USER-NAME HERE];pwd=[MySQL PASSWORD HERE];" } }

    • Fill in the required info. (database name, MySQL user-name & password) without the squared brackets.

  • Navigate to the Vacation folder and run the command $dotnet ef database update
  • Stay in the Vacation folder and run the command $dotnet build
  • To begin using the MVC application, run the command $dotnet run
  • Visit the app via the browser: 'localhost:5000/'

Known Bugs

  • N/A

License

MIT © 2021 Raya Sodwilai

Contact Information

sodwilai@pdx.edu