Skip to content

b05702117/socialMediaPlatform

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-based Social Media Platform

This is a Twitter-like social media platform built with Django, JavaScript, and Bootstrap. It allows users to create posts, comment on posts, follow other users, upload avatar/banner image, and etc.

Alt Text

Key features

  • Post Creation: Users can create new posts by typing a message and clicking the "Post" button. Posts are displayed in chronological order on the home page. Alt Text
  • Commenting: Users can access the comments section by clicking on the "Comment" button located below each post. This will open up a comment modal that displays all the comments made to that post in chronological order. Users can participate in the conversation by adding their own comments at the bottom of the comment modal Alt Text
  • Following: Users can follow other users by clicking the "Follow" button on a user's profile page. Posts from followed users are displayed on the home page. Alt Text
  • Image Uploads: Users can upload images to customize their avatar and the banner of their profile page. Alt Text

Usage

  1. Clone the project repository to your local directory using the following command:
git clone https://github.com/yupaotu/socialMediaPlatform.git
  1. In your terminal, cd into the directory where you clone the project.

  2. Run python manage.py makemigrations network to make migrations for the network app.

  3. Run python manage.py migrate to apply migrations to your database.

  4. (Optional) Create a superuser account to access the admin interface:

python manage.py createsuperuser
  1. Start the development server:
python manage.py runserver
  1. Open your web browser and visit http://localhost:8000 to access the application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.8%
  • Python 29.1%
  • JavaScript 16.2%
  • CSS 3.9%