Coder Social home page Coder Social logo

esportspredictor's Introduction

EsportsPredictor

EsportsPredictor is an app where you can see information about upcoming professional video game matches, teams, and players. When viewing a match, you can make a prediction on who will win. Your predictions page keeps track of all the predictions you have made and updates to show if you were correct or not after the matches take place.

You can find the deployed app Here

You can view most pages as a guest, but in order to make a prediction you will need to create an account.

Set Up Your Own Local EsportsPredictor

Setup Instructions

Prerequisites

  • Visual Studio
  • A PandaScore API key (instructions below)

Initial Setup

  1. Fork this repo in GitHub
  2. Clone your forked repo and open it in Visual Studio

API Setup

  1. Create a PandaScore account
  2. Generate your personal PandaScore API key on the dashboard
  3. In Visual Studio, right-click the project and select 'Manage User Secrets'
  4. Copy the code below into your secrets.json file, pasting your API key (not including 'Bearer ')
  5. { "PandascoreToken": "YOUR PANDASCORE API TOKEN GOES HERE" }
  6. It should look like this:

Database Setup

This app is set up to use a local database inside Visual Studio. If you want to change this, you can change the connection string in appsettings.json

The necessary migrations for the database are already set up. You can either run the application and click apply migrations when prompted or run the update-database command in the package manager console.

Run the App

You're all done!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.