A Django-based social media application where users can create posts, like posts & comment on posts. The application supports user registration, login, and profile management.
- User registration and authentication
- User profile management
- Create, read, and update posts and profiles.
- Like and comment on posts
- Light/Dark mode toggle
Watch a video of the app in action [https://www.loom.com/share/a488cdffd4d447b883066abedeb9fe83?sid=f98d15ad-e366-4ceb-9861-31a976f8ea42].
- Python
- Django
- HTML/CSS
- JavaScript
- Tailwind CSS
- SQLite (default database, can be changed to PostgreSQL or any other database supported by Django)
-
Clone the repository:
git clone https://github.com/AtharvaDeokar21/SocialApp.git cd socialproject
-
Create and activate a virtual environment:
- On Windows:
python -m venv env .\env\Scripts\activate
- On macOS and Linux:
python3 -m venv env source env/bin/activate
-
Install the required packages:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Open the application in your browser:
http://127.0.0.1:8000/
-
Register a new user:
- Go to the registration page and create a new user account.
- After registration, log in using your credentials.
-
Create a post:
- Navigate to the post creation page.
- Fill in the required details and upload an image.
- Submit the form to create a post.
-
Interact with posts:
- Like & comment on user's posts to interact.
-
Manage your profile:
- Go to the profile edit page to update your profile information and profile picture.
- Fork the repository.
- Create a new branch: git checkout -b my-feature-branch.
- Make your changes and commit them: git commit -m 'Add some feature'.
- Push to the branch: git push origin my-feature-branch.
- Submit a pull request.
This project is licensed under the MIT License.
For any questions or feedback, please contact: Name: Atharva Deokar Email: [email protected]