47bets is platform allows users to place bets on sports games, manage user accounts, and view game-related information. Staff or superusers can manage games and make updates as needed.
To run this project locally, follow these steps:
Clone the repository to your local machine:
git clone https://github.com/your-username/your-repo.git
Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows, use venv\Scripts\activate
Install the required dependencies:
pip install -r requirements.txt
Configure your database settings in settings.py
.
Apply database migrations:
python manage.py migrate
Start the development server:
python manage.py runserver
Access the application in your web browser at http://localhost:8000/
.
Registration:
Login:
Betting:
Profile:
settings.py
to enable account activation emails.The application provides the following API endpoints for external access:
/teams/
: Get a list of all sports teams./players/
: Get a list of all players./games/
: Get a list of all games./api/bets/
: API for managing user bets.Contributions to this project are welcome. To contribute:
This project is licensed under the Kelvin Wepo - (e.g., MIT) License. See the LICENSE file for details.