New posts
- Create new posts from anywhere
- Publish them straight into the application
- Compose and submit in one flow
A Django-powered social network where users can post, follow, like, edit, and explore a personalized feed through AJAX-driven interactions.
posts, profiles, following, likes.
THE IDEA
Network is a social media web application built with Django as part of Harvard's CS50 Web Programming with Python and JavaScript (CS50W). It explores how a social-media-style application comes together - users creating posts, connecting with other users, and interacting with each other's content.
The project combines users, posts, following, likes, AJAX, and pagination into one connected application. The backend handles the data and logic; JavaScript adds the responsive, no-reload feel.
WHAT I BUILT
Every feature the network needs - built around the documented spec.
AJAX EXPERIENCE
AJAX powers the interactions that should feel instant. Instead of a full browser refresh, the client makes a request in the background and the page updates just the part that changed.
These are the actions that update the page in place - no full browser refresh.
POSTS
Users create new posts, browse the feed, and edit their own posts. Editing is AJAX-powered - the post interface updates in place without a full page reload.
PROFILES
Every user has a profile page that brings their corner of the network together: the posts they've made, their follower count, and their following count.
FOLLOWING SYSTEM
Following creates the personalized side of the network: a dedicated Following feed shows the posts of the users you follow.
LIKE SYSTEM
Likes are a simple toggle. The like count updates in place through an AJAX request - no page refresh needed to see the number change.
PAGINATION
Content is split across pages so long feeds stay readable.
UNDER THE HOOD
Django owns the data and logic, JavaScript makes it feel alive, and the structure stays simple.
CORE APPLICATION MODEL
Users and posts are connected through social interactions: every user can publish posts, follow other users, and be followed, while posts collect likes.
AUTHENTICATION
A standard, documented loop: register an account, log in, use the network, and log out when you're done.
THE FEED
Network offers different views into posts. The Following feed personalizes what the user sees based on the users they follow - nothing more, nothing invented.
Every post in the application, in one paginated feed.
Only the posts of users you follow, in their own feed.
WHAT THIS PROJECT TAUGHT ME
A social app is really about the requests and responses between users, servers, and pages.
PROJECT STRUCTURE
A single Django application powers the whole experience - views serve the data, templates render it, and JavaScript keeps the interface responsive.
TECHNICAL FLOW
This is the request round-trip behind every AJAX interaction - a user action, a background request, a server response, and a DOM update. No WebSockets, no real-time stream, just clean requests and responses.
BUILT WITH CS50W
Network was built as part of Harvard's CS50 Web Programming with Python and JavaScript. The project applies Django and JavaScript concepts to a social-media-style web application.
CS50W projectPROJECT DETAILS
The full social network lives on GitHub - the Django application, its templates, and the AJAX layer.
THE SOCIAL GRAPH
People. Posts. Connections.
The whole application is built on two simple loops: creators publish content, and users connect with each other. Everything else flows from those.