Code Monkey home page Code Monkey logo

django-twitter's Introduction

Social Media Network with Django

accounts API introduction:

  1. sign up account: /api/accounts/signup/
  2. login account: /api/accounts/login/
  3. logout account: /api/accounts/logout/
  4. login status: /api/accounts/login_status/

tweet API introduction:

  1. create a tweet: /api/tweets/
  2. show all tweets for a specific user: /api/tweets/?user_id={}/
  3. show a tweet details with comment: /api/tweets/?tweet_id={}/

friendship API introduction:

  1. follow a user: /api/friendships/?user_id={}/follow/
  2. unfollow a user: /api/friendships/?user_id={}/unfollow/
  3. show all followers: /api/friendships/?user_id={}/followers/
  4. show all followings: /api/friendships/?user_id={}/followings/

newsfeed API introduction:

  1. show all news that you received: /api/newsfeeds/

comments API introduction:

  1. create a comment: /api/comment/
  2. show comments for a tweet: /api/comments/?tweet_id={}
  3. delete a comments: /api/comments/{comments_id}/
  4. update a comments: /api/comments/{comments_id}/

likes API introduction:

  1. create a like for a tweet or comment: /api/likes/
  2. cancel a like: /api/likes/cancel/

django-twitter's People

Contributors

xngwu1995 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.