Rolando Andrade
Back to projects

Built in 2018

enterateucab

University Events Website

enterateucab preview

Website to publish and search for events organized by the University.

Students miss talks they would have attended. University campuses have a communication problem. Events get announced through scattered emails, bulletin boards and word of mouth. Organizations struggle to reach their audience.

UCAB (Universidad Catolica Andres Bello) has four campuses across Venezuela. Coordinating events between them was chaos. Each campus had its own channels. Information got lost. Event organizers had no way to measure interest or track attendance.

I built EnterateUCAB to solve this. It is a single platform where anyone can discover what is happening across all campuses.

Events and news, one place

The platform serves two kinds of users: event organizers and students.

Event organizers create events with a title, description, cover image, date and location. They choose which campus hosts the event. The platform supports all four UCAB locations: Caracas, Los Teques, Puerto Ordaz and Coro.

Students browse upcoming events as cards. Each card shows the event date, title and cover image. A click on a card opens the full event details. Logged in users can mark that they will attend, so organizers know how many people plan to show up.

The platform also has a news section. Campus organizations can publish announcements that appear next to events. This keeps the community informed about updates that are not events.

Django behind, jQuery in front

I built EnterateUCAB with Django and Django REST Framework on the backend. Django is a Python framework for web applications. The frontend uses plain JavaScript with jQuery and Bootstrap.

The architecture puts the API first. The Django application serves the HTML templates for the frontend, and it also exposes a REST API for every data operation. A REST API is a set of web addresses that send and receive data. This separation made it easy to build different views for logged in and anonymous users.

How the browser, the Django API, Cloudinary and Heroku fit together
How the browser, the Django API, Cloudinary and Heroku fit together

Users, events and news

Three main entities drive the application: Users, Events and News.

Users extend Django’s built in user model with extra fields for career, campus location and profile image. People log in with their email instead of a username, which fits university accounts better.

Events store all the details: title, description, cover image, date, location and place. Each event has an author, the person who created it. It tracks attendance through a many to many relationship with users. In other words, one student can attend many events, and one event can have many students. This lets students mark which events they plan to attend.

News articles have a similar structure, without attendance tracking. They are announcements, not activities on a schedule.

The REST API

The API provides endpoints for all CRUD operations (create, read, update and delete):

  • User registration and authentication
  • Event creation, retrieval, and deletion
  • News management
  • Attendance tracking

Django REST Framework handles serialization, which means turning database records into JSON and back. Each model has serializers that control which data the API shows. Some serializers show every field, for admin operations. Others show only a few fields, for public views.

Token authentication protects the API. Users receive a token when they log in. Every request after that includes the token in its header. The framework checks tokens automatically.

Frontend with managers

The frontend uses a manager pattern to handle data. JavaScript classes wrap the API calls and turn the responses into objects that are easy to use.

A parser converts JSON responses into typed objects. Dates get wrapped in a helper class that formats them for the local language. Day names and months appear in Spanish. That made the interface feel natural to its audience.

Card components render events and news on the home page. Each card has a click handler that opens the detail view. Bootstrap’s grid system makes the layout adapt to both phones and desktops.

Four campuses, one database

Supporting four campuses needed careful data modeling. Each event and news item stores a location code. Users also store a preferred campus in their profile.

The frontend filters content by location. Students can see events from their own campus or browse everything. The location names (Caracas, Los Teques, Puerto Ordaz, Coro) appear in Spanish across the interface.

How logging in works

Users can browse events without logging in. To register, they enter an email, password, name and campus. The signup form checks the input in the browser before it sends anything.

Login uses email and password. The API returns a token, and JavaScript stores it locally. Logged in users see extra parts of the interface: attendance buttons, forms to create events and profile settings.

The system supports two kinds of login. The admin interface uses sessions, and the API uses tokens. With this setup, administrators manage content through Django’s admin, while regular users work with the custom frontend.

Storing images in Cloudinary

Events and profile pictures need image storage. I integrated Cloudinary, a service that hosts images. Users upload images through form fields. JavaScript captures the uploaded URL and saves it in the database as text.

This kept the Django application stateless, which means it did not keep any files on its own server. With no local file storage, deployment and scaling were simpler.

Running on Heroku

The application runs on Heroku with a PostgreSQL database. The Procfile sets Gunicorn as the WSGI server, the program that runs the Python app on the web. WhiteNoise serves static files without a separate CDN.

Django-Heroku handles most of the deployment setup automatically. It configures the database connection, static file serving and logging with sensible defaults.

Problems I had to solve

Dates were tricky. JavaScript and Python handle time zones differently. An event created in one time zone could show the wrong time in another. In the end, I stored every date in UTC and converted it in the frontend.

The responsive design took more work than I expected. Bootstrap helped, but custom components like the navigation sidebar needed manual CSS for each screen size. Mobile users needed a hamburger menu, while desktop users saw a full sidebar.

CORS also gave me trouble during development. CORS is a browser rule that blocks requests between different addresses. My frontend ran on a different port than the API. Django-CORS-Headers solved it by allowing requests from the development server.

What I learned

This was my first full stack project with Django REST Framework. I learned how to structure APIs, handle authentication and build a JavaScript frontend that uses REST endpoints.

The project taught me the gap between building something and building something useful. The technical part worked. Getting real adoption required thinking about user experience, communication and campus culture.

Building for a university with several campuses showed me how location affects product design. What works for one campus might not fit another. A flexible data model paid off when different campuses wanted different features.

Interested in working together? Check out my services and pricing to see how we can collaborate on your next project. Let's Build