A modern ecommerce platform for goods and services with Pi Network payments integration.
This application is built in full compliance with Pi Network 2025 Hackathon standards:
- Only Pi Network OAuth: Users authenticate exclusively through Pi Network OAuth
- No traditional authentication: Regular login/signup forms are disabled
- Pi UID tracking: Pi Network User ID is securely stored in user profiles
- Minimal data collection: Only essential information collected per Pi guidelines
- Privacy compliance: All data handling follows Pi Network privacy standards
- Secure storage: User data encrypted and stored securely
- Pi SDK integration: Payments use official Pi Network SDK
- Secure transactions: All payment flows follow Pi Network security standards
- Transaction tracking: Payment IDs and details properly recorded
- Pi Network branding: Follows Pi Network design and UX guidelines
- User experience: Optimized for Pi Network ecosystem
- Security: Implements all required security measures
- Product Catalog: Browse products with categories and search
- Shopping Cart: Session-based cart management
- Pi Network OAuth: Secure authentication through Pi Network
- User Profiles: Profile management with Pi UID tracking
- Order Management: Complete order tracking with Pi payments
- Address Management: Shipping address management
- Product Reviews: User review system
- Analytics Dashboard: Admin analytics (superuser only)
-
Install dependencies:
pip install -r requirements.txt
-
Configure Pi Network OAuth:
- Register your app at Pi Network Developer Portal
- Update
SOCIAL_AUTH_PI_KEYandSOCIAL_AUTH_PI_SECRETinshopmall/settings.py
-
Run migrations:
python manage.py migrate
-
Create superuser (for admin access):
python manage.py createsuperuser
-
Start development server:
python manage.py runserver
- OAuth Login:
/social-auth/login/pi/ - Payment Processing: Uses Pi SDK for secure payments
- User Profile: Stores Pi UID for compliance
- Data Privacy: Minimal data collection per Pi standards
- CSRF protection on all forms
- Secure session management
- HTTPS enforcement for production
- Minimal data exposure
- Secure Pi Network integration
For production deployment:
- Set
DEBUG = Falsein settings.py - Configure
ALLOWED_HOSTSwith your domain - Set up HTTPS (required for Pi Network)
- Use production database (PostgreSQL recommended)
- Configure email settings for notifications
- Set up proper static/media file serving
- Configure
SECURE_SSL_REDIRECT = True - Set secure cookie settings
Make sure to configure your Pi Network app with:
- Correct redirect URIs
- Proper scopes (username, email)
- HTTPS callback URLs for production
This project follows Pi Network 2025 Hackathon guidelines. All contributions must maintain Pi Network compliance standards.