Skip to content

Latest commit

 

History

History
87 lines (67 loc) · 1.76 KB

README.md

File metadata and controls

87 lines (67 loc) · 1.76 KB

Social Media Feed using Django

This is a Django-based web application that implements a social media feed with features such as user authentication, posting, liking, commenting, searching other users, and managing user profiles.

Features

  • User registration and authentication (signup/login)
  • Create, view, like, and comment on posts
  • Search for other users
  • Manage user profile (change username)

Installation

  1. Clone the repository:
git clone https://github.com/shravanngoswamii/social-media-feed-django.git
  1. Navigate to the project directory:
cd django-social-media-feed
  1. Create and activate a virtual environment (optional but recommended):
pip install virtualenv # if not already installed

Creating Virtual Environment:

virtualenv myenv

Activating Virtual Environment: On Windows:

myenv\Scripts\activate

On Mac or Linux:

source myenv/bin/activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Apply database migrations: On Windows:
python manage.py makemigrations
python manage.py migrate

On Mac or Linux:

python3 manage.py makemigrations
python3 manage.py migrate
  1. Create a superuser (optional, but required for admin access):
python manage.py createsuperuser
  1. Start the development server:
python manage.py runserver

The application should now be accessible at http://127.0.0.1:8000/.

Video Demonstration:

Social-Media-Feed-Demo.mp4

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.