Sagepock is a comprehensive social media platform built with Django, featuring RESTful APIs, robust Authentication and Authorization using JWTs, and PostgreSQL as the main database. This platform offers a range of features designed to enhance user engagement and connectivity.
- Signup with Google: Users can easily sign up or log in using their Google accounts. Reset Password via Gmail: Secure password recovery process leveraging Gmail's SMTP server.
- The primary protocol I used in my project is HTTPS ensuring secure data transmission.
- Also change the domain name of localhost to "sagepock"
- https://sagepock.com:8000/home/.
Friend System: Users can add friends and view posts shared by their friends. Post Sharing: Users can create, share, and interact with posts.
Well-defined RESTful APIs for seamless integration with frontend applications or third-party services.
PostgreSQL Configuration: Utilizes PostgreSQL for efficient and reliable data storage.
- mkdir sagepock
- cd sagepock
- git clone https://github.com/fares-agour/Django-Social-Media.git
- python -m venv venv
- Activate Virtual Environment:
.\venv\Scripts\activatesource venv/bin/activate - cd Django-Social-Media
- pip install -r requirements.txt
- echo .env and fullfit all variables with yours.
- python manage.py migrate
- python manage.py createsuperuser
- to open site in domain sagepock instead of local host
C:\Windows\System32\drivers\etc\hosts
You'll need to open this file with administrative like VSCODE
Add this line:
127.0.0.1 sagepock
/etc/hosts
sudo nano /etc/hosts
127.0.0.1 sagepock
- python manage.py runserver_plus --cert-file cert.crt
- Enjoy
The primary purpose of Sagepock is to provide a secure and user-friendly social media platform where users can connect, share, and interact with friends and communities. Our goal is to create a platform that prioritizes user privacy, data security, and seamless user experience.
- Django
- Django Rest Framework
- JSON Web Tokens (JWTs) for Authentication
- PostgreSQL
- Google OAuth for Signup
- Gmail SMTP for Email Services




