• Prashant Dodiya's avatar
    Create all the endpoints for the Application · b8c3051e
    Prashant Dodiya authored
    This will add all the endpoints of the Application. All the apis
    are user specific i.e., only currently logged in user will have
    access to its object. Setted up the custom permission for each
    model. APIs created in the hierarchy i.e., market-garden ->
    section -> bed and market-garden -> todo -> specific-todo.
    JWT Authentication is used and get_user_id function is implemented
    by decoding JWT token and fetching currently logged in user.