nab-in / portal-backend

Job Portal Backend built with NodeJs
MIT License
0 stars 0 forks source link

fetching statistics #147

Open bmsteven opened 3 years ago

bmsteven commented 3 years ago

Companies:
a. Metrics

  1. Total number of applications
  2. Total number of jobs
  3. total number of interviews
  4. Total number of hired candidates

    b. Graph

  5. Fetching number of applicants of jobs posted by the particular company and interviews of each day in a specified date range (date range changes as per user input)

Admins a. Metrics

  1. Total number of registered users
  2. Total number of registered companies
  3. total number of applications
  4. Total number of hired candidates

    b. Graphs

  5. Fetching number of applicants and interviews of each day in a specified date range (date range changes as per user input)
  6. Number of companies registered of each day in a specified time range (date range changes as per user input)
  7. Number of users registered of each day in a specified time range (date range changes as per user input)
BaharaJr commented 3 years ago

Hello, @bmsteven as regards metrics, in the companies section, do we want interviews per job or the total number?

bmsteven commented 3 years ago

Per interviews per day, unless we wanna add more details on statistics

bmsteven commented 3 years ago

Request array datatype on graph data in this format,

[
    {
      date,
      value, // can be applicants, users as mentioned in the issue
    },
    {
      date,
      value,
    },
    {
      date,
      value,
    },
]