Code Monkey home page Code Monkey logo

imdb-apis's Introduction

IMDB APIs Project

IMDB API Clone (JWT, Token, Throttling, Pagination, Testing).

Concepts Applied

1. API Basics

  • Serializers {Serializers – ModelSerializer – HyperlinkedModelSerializer}

2. Function-Based View

3. Class-Based Views

  • {APIView – Generic View – Mixins – Concrete View Classes}

4. Viewsets and Routers

5. Permissions {IsAuthenticated – IsAdminUser – IsAuthenticatedOrReadOnly – Custom Permission}

6. Authentications {BasicAuthentication – TokenAuthentication – JSON Web Token Authentication}

7. Throttling

  • {AnonRateThrottle – UserRateThrottle – ScopedRate Throttle – Custom Throttles}

8. Django Filter Backend

  • {Filter – Search – Ordering}

9. Pagination - {Page Number – Limit Offset – Cursor}

10. Automated API Testing

API URLs

1. Admin Access

  • /dashboard/

2. Watch List

  • api/watch/list/
  • api/watch/<int:movie_id>/
  • api/watch/list2/ (Filter)

3. Stream Platforms

  • api/watch/stream/
  • api/watch/stream/<int:streamplatform_id>/

4. Reviews

  • api/watch/<int:movie_id>/reviews/ (All reviews for the movie)
  • api/watch/reviews/<int:review_id>/ (Individual review)
  • api/watch/reviews/<int:movie_id>/reviews/create/

5. User Review

  • api/watch/user-reviews/?username=example/

6. Accounts

  • api/account/register/
  • api/account/login/
  • api/account/logout/

imdb-apis's People

Contributors

ayman-sedik avatar

Stargazers

Rizk Ahmed Batah 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.