Skip to content

A web application built with .NET 8, C#, and Entity Framework Core to manage football players, games, and statistics. It includes user authentication with ASP.NET Core Identity and integrates Azure OpenAI for a chat assistant that lets users query player data, analyze game statistics, and receive insights directly in the platform.

Notifications You must be signed in to change notification settings

petermartens98/Football-Stats-Manager-with-AI-Assistant-Web-App

Repository files navigation

🏈 Football Stats Manager with AI Assistant Web App

A modern web application built with .NET 8, C#, and Entity Framework Core to man age football players, games, and statistics. It features secure user authentication with ASP.NET Core Identity and integrates Azure OpenAI to provide an intelligent chat assistant that helps users interact with player data, analyze game statistics, and receive conversational insights directly within the platform.


🚀 Getting Started

Prerequisites

Setup

  1. Clone the repository:

    git clone https://github.com/YOUR-USERNAME/FootballPlayerTrackerV2.git
    cd FootballPlayerTrackerV2
  2. Restore dependencies:

    dotnet restore
  3. Apply database migrations:

    dotnet ef database update
  4. Configure settings: Update appsettings.json with your Azure OpenAI credentials and connection strings:

    {
      "AzureOpenAI": {
        "Endpoint": "YOUR_ENDPOINT",
        "Deployment": "YOUR_DEPLOYMENT",
        "ApiKey": "YOUR_API_KEY"
      }
    }
  5. Run the application:

    dotnet run
  6. Open your browser at:

    https://localhost:5001
    

⚙️ Tech Stack

  • Backend: .NET 8 (C#), ASP.NET Core MVC
  • Database: EF Core + SQL Server/SQLite
  • Authentication: ASP.NET Identity
  • AI Integration: Azure OpenAI
  • Frontend: Razor Pages, Bootstrap

📌 Next Steps

  • Add sample seed data for quick demo setup
  • Deploy to Azure or Dockerize for cloud hosting
  • Expand AI chat integration for richer insights
  • Add unit/integration tests

🤝 Contributing

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📸 Screenshots (Web)

Chatbot

image

All Players Page (Basic Info + Avg/Total Stats)

image image

Player Details Page

image

All Games Page

image

Game Details Page

image

User Login Page

image

Account Management Page

image

📱 Screenshots (Mobile)

Chatbot

image

All Players Page (Basic Info + Avg/Total Stats)

image image

Player Details Page

image image

All Games Page

image

Game Details Page

image

User Login Page

image

Account Management Page

image

About

A web application built with .NET 8, C#, and Entity Framework Core to manage football players, games, and statistics. It includes user authentication with ASP.NET Core Identity and integrates Azure OpenAI for a chat assistant that lets users query player data, analyze game statistics, and receive insights directly in the platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published