Giter Site home page Giter Site logo

social-media-app-drf's Introduction

Social Media App

This project is a modern social media platform built using Django Rest Framework, designed for scalability and efficiency. The app features comprehensive user interactions like profile management, article posting, bookmarking, rating, and more.

๐Ÿš€ Features

  • User Authentication: JWT-based authentication with full registration, login, and password management.
  • Profile Management: View, update profiles, follow and unfollow users.
  • Article Publishing: Create, update, delete, and interact with articles.
  • Bookmarking: Save and manage articles for later.
  • Article Ratings: Rate articles to provide feedback.
  • Elastic Search Integration: Perform fast and powerful searches through articles.
  • Asynchronous Background Tasks: Handle background tasks like email notifications with Celery and Redis.
  • API Documentation: Redoc-powered documentation for a smooth developer experience.

๐Ÿ› ๏ธ Tech Stack

  • Backend: Python, Django Rest Framework (DRF)
  • Database: PostgreSQL
  • Task Queue: Celery, Redis
  • Email Testing: MailHog
  • Containerization: Docker
  • Monitoring and Management: Flower
  • Search Engine: Elasticsearch
  • Proxy: Nginx

๐Ÿ“‚ URL Endpoints

Authentication & User Management

  • User Details: /api/v1/auth/user/
  • Authentication: /api/v1/auth/
  • Registration: /api/v1/auth/registration/
  • Password Reset: /api/v1/auth/password/reset/confirm/<uidb64>/<token>/

Profiles

  • View All Profiles: /api/v1/profiles/all/
  • My Profile: /api/v1/profiles/me/
  • Update Profile: /api/v1/profiles/me/update/
  • Followers: /api/v1/profiles/me/followers/
  • Follow: /api/v1/profiles/<uuid:user_id>/follow/
  • Unfollow: /api/v1/profiles/<uuid:user_id>/unfollow/

Articles

  • List & Create Articles: /api/v1/articles/
  • Retrieve, Update & Delete Article: /api/v1/articles/<uuid:id>/
  • Clap Article: /api/v1/articles/<uuid:article_id>/clap/

Bookmarks

  • Bookmark Article: /api/v1/bookmarks/bookmark_article/<uuid:article_id>/
  • Remove Bookmark: /api/v1/bookmarks/remove_bookmark/<uuid:article_id>/

Ratings

  • Rate Article: /api/v1/ratings/rate_article/<uuid:article_id>/

Responses

  • View & Create Responses: /api/v1/responses/article/<uuid:article_id>/
  • Update & Delete Response: /api/v1/responses/<uuid:id>/

Search

  • Search Articles: /api/v1/elastic/search/

API Documentation

  • Redoc Documentation: /redoc/

๐Ÿ“ฆ Installation

Clone the repository:

git clone https://github.com/YaroslavMarkivskyi/social-media-app-drf.git

Navigate to the project directory:

cd social-media-app-drf

Set up and run the application using Docker Compose:

docker-compose -f local.yml up --build

Access the application at and read documentation http://localhost:8080/redoc

social-media-app-drf's People

Contributors

yaroslavmarkivskyi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.