Project is Live - here
TweeterSphere is a social media platform inspired by Twitter.
The project was made using a popular python web framework known as Django.
- Complete User Authentication
- Create, Like, and Update Posts
- Follow Other Profiles
- Update Profile Information
- Add Profile Image
- Django: Backend web framework for building the application's structure and handling user authentication.
- HTML/Bootstrap: Frontend technologies for building the user interface and interactivity.
- SQLite (For local development): Database management system for storing user data and chat information.
- Supabase (For deployment): Cloud-based database management system for storing user data and chat information.
- Docker (For deployment): Containerization and deployment tool for running the application in production.
To get started with TweeterSphere, follow the instructions below:
- Clone the repository:
git clone https://github.com/Rhythm1821/TweeterSphere
- Navigate to the project directory:
cd TweeterSphere
- Create a virtual environment:
python3 -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Run database migrations:
python3 manage.py migrate
- Start the development server:
python3 manage.py runserver
You can now access TweeterSphere at http://127.0.0.1:8000/ in your web browser.
Add your credentials to .env file
- Clone the repository:
git clone https://github.com/Rhythm1821/TweeterSphere
- Navigate to the project directory:
cd TweeterSphere
- Login to MySQL server(inside the quotes your actual password should be there and same in you .env file):
mysql -u root -p'password'
- Create new database and exit:
CREATE DATABASE tweetersphere;
EXIT;
- Ensure no container is running:
docker ps #(if running do "docker kill {container_id}")
- Uncomment this line in .env
DOCKER_COMPOSE=1
- Start building the container:
docker compose up --build
You can now access TweeterSphere at http://127.0.0.1:8000/ in your web browser.