Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 1.59 KB

README.md

File metadata and controls

64 lines (45 loc) · 1.59 KB

TweetHub

TweetHub is a Twitter-like application built with Django. It allows users to sign up, log in, log out, create tweets, edit tweets, and delete tweets. Users can also add images to their tweets.

TweetHub

Features

  • User Authentication: Sign up, log in, and log out
  • Create, Read, Update, and Delete (CRUD) tweets
  • Add images to tweets

Getting Started

Prerequisites

  • Python 3.x
  • Django 3.x or later

Installation

  1. Clone the repository:

    git clone https://github.com/aniketpatidar/TweetHub.git
  2. Navigate to the project directory:

    cd TweetHub
  3. Create and activate a virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate
  4. Install the required dependencies:

    pip install -r requirements.txt
  5. Apply the migrations:

    python manage.py migrate
  6. Create a superuser to access the admin panel:

    python manage.py createsuperuser
  7. Start the development server:

    python manage.py runserver
  8. Open your web browser and go to http://127.0.0.1:8000/tweet/ to see the application in action.

Shoutout

Special thanks to @hiteshchoudhary for his amazing YouTube video that inspired this project.

Build a full stack project in Django for beginners