A simple social network web application built with Django. Users can register, create posts, follow/unfollow others, like and comment on posts, and edit their profiles with images and bios.
- User registration and authentication
- User profiles with profile pictures and bios
- Edit profile (bio and image)
- Create, view, and list posts
- Follow/unfollow other users
- Personalized feed (posts from followed users)
- Like/unlike posts
- Comment on posts
- Admin interface for all models
git clone <your-repo-url>
cd <your-project-directory>python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install django crispy-bootstrap5 django-crispy-formspython manage.py makemigrations
python manage.py migratepython manage.py createsuperuserpython manage.py runserver- Make sure you have a
media/profile_pics/directory in your project root. - Default profile images should be placed in
media/profile_pics/default.png.
- Register a new user or log in.
- Edit your profile to add a bio and profile picture.
- Create posts, follow other users, like and comment on posts.
- Visit user profiles to follow/unfollow or see their posts.
main/- Main Django app (models, views, templates)website/- Project configuration (settings, urls)media/- Uploaded profile images
MIT