Skip to content

This is SoccerGlanceAPI, this is an API for essentially creating match highlights, it represents a layer between the User and our Model Server.

Notifications You must be signed in to change notification settings

Abdo-reda/SoccerGlanceAPI

Repository files navigation

Setup

We recommend to setup virtual environment and install the needed packages using pip. You can check the requirements file for the core packages needed. Also, this was tested on python 3.10

  • python -m venv myEnv
  • myEnv\Scripts\activate
  • pip install -r requirements.txt

Running the API server

python manage.py runserver 0.0.0.0:8000

To Run with empty database:

  1. delete all files in migration folders except init.
  2. python3 manage.py makemigrations
  3. python3manage.py migrate
  4. Manually enter the top 5 leagues in the league table. Set another league record to Custom.
  5. Create the PremiumPlus SubscriptionType

About

This is SoccerGlanceAPI, this is an API for essentially creating match highlights, it represents a layer between the User and our Model Server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages