https://github.com/abdo-reda/soccerglanceapi
This is SoccerGlanceAPI, this is an API for essentially creating match highlights, it represents a layer between the User and our Model Server.
https://github.com/abdo-reda/soccerglanceapi
api highlights soccer-matches
Last synced: 8 months ago
JSON representation
This is SoccerGlanceAPI, this is an API for essentially creating match highlights, it represents a layer between the User and our Model Server.
- Host: GitHub
- URL: https://github.com/abdo-reda/soccerglanceapi
- Owner: Abdo-reda
- Created: 2023-03-18T21:55:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-22T18:58:43.000Z (about 3 years ago)
- Last Synced: 2024-12-18T06:33:52.547Z (over 1 year ago)
- Topics: api, highlights, soccer-matches
- Language: Python
- Homepage:
- Size: 90.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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