This is a social media web application built using the Django framework.
- Send friend requests to other users and accept/reject requests received
- User sign up and login
- Create and edit profile page
- Create and edit posts uploaded by the user
- Password Reset option available to user
- Like/Unlike posts
- Comment on user posts
- Search for users and posts through the search bar
Backend : Django
Frontend : HTML5, CSS(Bootstrap4 + Custom CSS), AJAX
Database: Sqlite3
-
- Fork the repo
- Clone the repo to your local system
git clone https://github.com/addy-1406/Social_Media.git cd Social_Media
Make sure you have python installed on your system.
-
Create a Virtual Environment for the Project
If u don't have a virtualenv installed
pip install virtualenv
For Windows Users
virtualenv env env/Scripts/activate
For Linux Users
virtualenv env source env/Scripts/activate
-
Install all the requirements
cd photoshare
pip install -r requirements.txt
-
Make migrations/ Create db.sqlite3
python manage.py makemigrations python manage.py migrate
-
Create a super user. This is to access Admin panel and admin specific pages.
python manage.py createsuperuser
Enter your username, email and password.
-
Run server
python manage.py runserver
Sign Up Page

Home Page

Create Post Page

Page to keep track of friend requests received and sent

Comments section for a post

Update Profile Page

This project was made by: