Skip to content

Instantly share code, notes, and snippets.

View smitthakkar96's full-sized avatar
🎯
Focusing

smit thakkar smitthakkar96

🎯
Focusing
  • Delivery Hero
  • Berlin
View GitHub Profile
class FollowController(Resource):
# Working Correctly
@auth.login_required
def post(self):
parser = reqparse.RequestParser()
# Let us take ID of other user who will be followed or unfollowed
parser.add_argument(
'id',
required=True,
import unittest
import json
import app
from . import util
from models import Recruiter_invitation, Recruiter, Job, Jobseeker_Job
from database import db
class TestRecruiterApi(unittest.TestCase):
"""
"""
Business logic for all the authencation releted apis
is present here.
"""
from functools import wraps
from flask import g, jsonify, request
from werkzeug import check_password_hash
from itsdangerous import TimedJSONWebSignatureSerializer as Serializer
import {Component, Output, EventEmitter} from '@angular/core';
@Component({
selector: 'rating',
template: `
<div class="rating">
<div class="back">
<a href="#" (click)="setRating(i)" *ngFor="let i of numberOf(numstars)"><ion-icon name="star" ></ion-icon></a>
</div>
<div class="front" [ngStyle]="{width: getWidth()}">
<a href="#" (click)="setRating(i)" *ngFor="let i of numberOf(numstars)"><ion-icon name="star" ></ion-icon></a>