Raffle Web App
Project Type
This project is a Raffle application that combines a Django backend for managing raffles, tickets, and user-related activities, and a Flutter front-end for an engaging and responsive user experience on both mobile and web platforms.
Features
Django Backend
-
User Management:
- User registration, authentication, and profile management.
- Integration with Django's built-in User model.
-
Raffle Management:
- Creation, updating, and deletion of raffles with various details.
- Automatic selection of winners when all tickets are sold.
-
API Auth and Rendering:
- Token-based authentication for secure API access.
- Serializers to render data in JSON format for API responses.
-
Paystack Integration:
- Seamless integration with Paystack for handling payments during ticket purchases.
-
Apache Configuration:
- Configuration for deploying the Django app with Apache for production.
Flutter Frontend
-
User Authentication:
- User login and registration using Flutter.
-
Raffle Management:
- Viewing available raffles, details, and participating in raffles.
-
Paystack Payments:
- Integration with Paystack for secure and convenient payment processing.
-
Admin Systems Management:
- Admin features for managing raffles, tickets, and user activities.
Project Source Code
The Flutter source code is available on GitHub at devfemibadmus/raffle-flutter and devfemibadmus/raffleapi-django. It includes features for user authentication, raffle participation, Paystack payments, and admin systems management.
Why This App?
This app was created as a learning experience project. While the concept of betting and raffling may have negative aspects, the development process provided valuable insights into user management, API integration, and deploying applications.
Get Started
- Clone the Django backend from devfemibadmus/raffleapi-django.
- Run the server in 8880 or set up Apache for hosting.
- Access the app at the provided URL.
- Default login credentials:
- Username/Email: admin@admin.com
- Password: admin
Note:
- For a complete payment experience, update the Paystack API key and authentication in the Django backend.
- Contact the developer at devfemibadmus@gmail.com for assistance or to obtain the required Paystack API key and authentication details.
Screenshots
devfemibadmus/raffle-flutter for the App screenshots
Check outWebsite Pages
Terminal Screenshot
Code Usage
The code is free to use for learning purposes. For development or further usage, please contact the developer at devfemibadmus@gmail.com for permission or collaboration.
Feel free to explore, learn, and contribute to this project!
Note: This project was initially intended for luckytreeraffle.com but was discontinued due to a lack of investors.