Full-stack event discovery web application built with Django using Ticketmaster API
View Live Site Note: Free tier may take up to 30-60 seconds to wake up on first visit
- Event search using Ticketmaster API
- User authentication (signup/login/logout)
- Favorites system with AJAX operations
- Dark mode toggle with localStorage persistence
- Responsive design with Bootstrap
- Backend: Django 4.2, Python
- Database: PostgreSQL (production database), using Django ORM for database operations
- Frontend: HTML/CSS, JavaScript (Vanilla + AJAX)
- Styling: Bootstrap 5
- Python 3.8 or higher
- pip (Python package manager)
- PostgreSQL (optional, SQLite will be used by default for local development)
- Clone the repository
git clone <repository-url>
cd Event-Hub- Create a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies
pip install -r requirements.txt- Set up environment variables
Copy the example environment file:
cp .env.example .envEdit .env and configure the following variables:
DJANGO_SECRET_KEY: Generate a new secret key for developmentTICKETMASTER_API_KEY: Get your API key from https://developer.ticketmaster.com/DEBUG: Set toTruefor local developmentALLOWED_HOSTS: Keep aslocalhost,127.0.0.1for local development
- Run database migrations
python manage.py migrate- Create a superuser (optional, for admin access)
python manage.py createsuperuser- Start the development server
python manage.py runserverThe application will be available at http://localhost:8000/
By default, the application uses SQLite for local development. If you want to use PostgreSQL locally, add the following to your .env file:
DATABASE_URL=postgres://username:password@localhost:5432/eventhub
Built as final project for CS416 Web Development course at Central Connecticut State University.