module documentation

The module app holds the function related to flask app and database.

Function add The add function adds the skills column and adds the job data to the database.
Function index Route: '/' The index function renders the index.html page.
Function lgin Route: '/' The login function renders login.html page.
Function login Route: '/login' The index function renders the login.html page.
Function login_required This function required login functionality
Function read_from_db The read_from_db function reads the job details based on the input provided using regex. Returns a DataFrame with the details
Function search This functions fetches data from database on the search filter
Function sgup Route: '/' The index function renders the index.html page.
Variable app Variable to load the app module
Variable mongo_conn Mongo connection string
Variable mongo_params Mongo parameters
Variable mongodb_client Client connection
def add(db, job_data):

The add function adds the skills column and adds the job data to the database.

@app.route('/')
def index():

Route: '/' The index function renders the index.html page.

@app.route('/login')
def lgin():

Route: '/' The login function renders login.html page.

@app.route('/login')
def login():

Route: '/login' The index function renders the login.html page.

def login_required(f):

This function required login functionality

def read_from_db(request, db):

The read_from_db function reads the job details based on the input provided using regex. Returns a DataFrame with the details

@app.route('/search', methods=('GET', 'POST'))
def search():

This functions fetches data from database on the search filter

@app.route('/signup')
def sgup():

Route: '/' The index function renders the index.html page.

app =

Variable to load the app module

mongo_conn: str =

Mongo connection string

mongo_params: str =

Mongo parameters

mongodb_client =

Client connection