Friendly Betting App
Welcome to the Friendly Betting App, a web application built with Django and React!
Overview
The Friendly Betting App is a platform that allows users to create, join, and participate in friendly bets with friends and fellow users. It combines the power of Django for the backend and React for the frontend to provide a seamless and interactive user experience.
Features
- User Authentication: Secure user authentication ensures that only registered users can create or join bets.
- Bet Creation: Users can create bets, set parameters, and invite friends to join the betting fun.
- Bet Participation: Join bets created by others and compete for bragging rights.
- Real-time Updates: Experience real-time updates and notifications as bets progress.
- Leaderboard: Keep track of your performance and see how you stack up against other participants.
Technologies Used
- Django: A high-level Python web framework for the backend, providing robust data management and authentication.
- React: A JavaScript library for building user interfaces, offering a dynamic and responsive frontend.
- Django REST Framework: An extension for Django that simplifies building APIs and connects the frontend to the backend.
Getting Started
- Clone the repository:
git clone <repository_url>
- Navigate to the backend directory:
cd backend
- Install backend dependencies:
pip install -r requirements.txt
- Apply migrations:
python manage.py migrate
- Start the backend server:
python manage.py runserver
For the frontend:
- Navigate to the frontend directory:
cd frontend
- Install frontend dependencies:
npm install
- Start the frontend development server:
npm start
Visit http://localhost:3000 to explore the Friendly Betting App!
Authentication
- Create .env file in
/frontend
folder
- Generate secret key for your application -
openssl rand -base64 32
- Put the key in .env file in this format -
AUTH_SECRET=your-secret-key
Contributing
We welcome contributions! Feel free to fork the repository, make improvements, and submit pull requests. Check out the Contribution Guidelines for more details.
License
This project is licensed under the MIT License. Feel free to use, modify, and distribute it!
If tailwind and css yeet at you add this to user settings JSON (CMD+SHIFT+P):
"*.css": "tailwindcss"
}