🌱 Grounded 🌿

A Grounding Application, 6/17/2021

By Cristina Plesa, Jesse White, Isaac Moreno, Marney Mallory and Tiffany Greathead

Description

Grounded is a web application to help you ground yourself from any anxiety or stress you may have in your life.

Setup and Use

Prerequisites

Installation

  1. Clone the repository: $ git clone https://github.com/isaacrmoreno/GroundedClient.Solution.git

  2. Navigate to the GroundedClient directory on your computer

  3. Open with your preferred text editor to view the code base

  4. To setup a SQL database using MySQL:

    • Create an appsettings.json file in the GroundedClient directory
    • Copy the text box below and paste into the appsettings.json file, replacing <password> with your MySQL password:
    {
    "Logging": {
     "LogLevel": {
       "Default": "Information",
       "Microsoft": "Warning",
       "Microsoft.Hosting.Lifetime": "Information"
     }
    },
    "AllowedHosts": "*"
    }
    
  5. To serve the local web app:

  • Navigate to GroundedClient.Solution/GroundedClient in your command line
  • Run the commands:
    • dotnet restore to restore the dependencies that are listed in GroundedClient.csproj
    • dotnet add package Microsoft.EntityFrameworkCore -v 5.0.0
    • dotnet add package Pomelo.EntityFrameworkCore.MySql -v 5.0.0-alpha.2
    • dotnet add package Microsoft.EntityFrameworkCore.Proxies -v 5.0.0
    • dotnet build to build the project and its dependencies into a set of binaries
    • dotnet tool install --global dotnet-ef to install EF Core tools
    • dotnet ef database update
  • Finally, run the command dotnet run to run the project!
  • Note: dotnet run also restores and builds the project, so you can use this single command to start the console app
  1. Visit the application via web browser at: localhost:5003/

Known Bugs

No known bugs 🐛

Support and contact details

Technologies Used

  • C#
  • .NET 5 SDK
  • ASP.NET Core MVC with Identity
  • Entity Framework Core
  • MySQL
  • Bootstrap
  • HTML5 with Razor syntax

License

MIT
MIT License

Copyright (c) 2021 Cristina Plesa, Jesse White, Isaac Moreno, Marney Mallory and Tiffany Greathead

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.

Copyright © 2021 Cristina Plesa, Jesse White, Isaac Moreno, Marney Mallory and Tiffany Greathead