/SandwichBucket

It's a bucket you put sandwiches in. | Epicodus Week 14 Team Week Project

Primary LanguageC#MIT LicenseMIT

🥪 The Sandwich Bucket 🥪

Now hosted live at sandwichbucket.club

"One of the worst websites I've ever seen." -- The Guy At The Bus Stop That I Showed It To

💻 Technologies Used

  • C# / .NET 5.0
  • ASP.NET Core
  • Razor Pages
  • Entity Framework Core
  • JavaScript / JQuery
  • HTML / CSS
  • Python

📝 Description

Got a bucket? Got some sandwiches? Put the sandwiches in a bucket. Buckets are great for a lot of things. I think at some point in everyone's life they should have a moment where they say to themselves "This situation would be improved if I had a bucket with me right now". Then on top of that what if in that moment you were hungry as well? And the bucket had sandwiches? Phew, now you're talking about a completely different level to this thing. Chilling out, eating sandwiches, you've got a bucket; what else is there?

Second scenario: You're a prominent physician, the talk of the town, and someone murders the love of your life: your wife. The police blame you, but you're innocent. What do you do? You escape, you go on the run, you take your sandwich bucket and do your best to prove your innocence. "PUT THE SANDWICH DOWN!" they yell, but you can't. That sandwich will prove your innocence. So you jump. You jump for freedom, for America, for your wife. You've just made an enemy for life in Tommy Lee Jones. And he hates buckets.

⚙️ Setup/Installation & Usage Instructions

  • Install the MySQL Community Server & MySQL Workbench
  • Install the .NET 5 SDK
  • Install the dotnet-ef tool with this command: dotnet tool install --global dotnet-ef
  • Clone this repository to your device
  • Create appsettings.json in the top level of this repo
    • Copy the contents of the code below into this file. Make sure to change the password to the password you used to setup your MySQL server
    {
      "ConnectionStrings": {
          "DefaultConnection": "Server=localhost;Port=3306;database=sandwich_bucket;uid=root;pwd=<PASSWORD>;"
      }
    }
  • Using your terminal navigate to the directory where you have cloned this repo.
  • Run dotnet build in the top level directory of this repo.
  • Once the project has been built run dotnet ef database update to create the database necessary to run the app.
  • Run dotnet run to get the program running, and the site hosted locally.
  • Open your browser and visit http://localhost:5000/
  • Bask

📄 Notes

🐞 Known Bugs

  • Visiting the URL for the site allows you to view it.

⚠️ License

MIT License

Copyright (c) 2022 SandwichBucket Team