Git Product home page Git Product logo

attendance-app-back's Introduction

Attendance-app-back

Name of the database : Attendance

Tables:

  1. class = (Names and code of all class )|| code | name
  2. routine = (routines) || teacher_id | subject_code | class_code | day | time_begin | time_end
  3. subject = (list of subjects) || code | name
  4. Teacher = (list of teachers) || id | name | department
  5. Names of all students of a class -> table name == department_year (eg: cse_3) || id | name
  6. Copy of a class for each teacher for attendance -> table name == department_year_teacher_id (eg: cse_3_3) || id | name | dt_12_01_2020 | total | dt_13_01_2020 | dt_14_01_2020

Endpoints

/getTeacherRoutine

Input : 
1. id -> id of the teacher
Function: Returns all the classes of the particular teacher in routine table

/addRoutine

Input :
    1. teacher_id 
    2. subject_code 
    3. class_code 
    4. day  
    5. time_begin 
    6. time_end
Function: Adds a routine in routine tbale

/addSubject

Input :
    1. code 
    2. name
Function: Adds a subject in subject table

/addClass

Input :
    1. code 
    2. name
Function: Adds a class in class table

/addTeacher

Input :
    1. id 
    2. name
    3. Department
Function: Adds a teacher in teacher table

/addStudent

Input :
    1. id 
    2. name
    3. code
Function: Adds a Student in a particular class table

/createclass

Input:
    1. code -- of the form department_year
Function: Creates a new table for given class

/addAttendancedate

Input: 
    1. date -- if the form date_month_year
Function: adds a new attendance column eg: dt_14_01_2020

/addAttendance

Input:
    1. date
    2. class_code
    3. teacher_id
    4. student_id
Function: adds attendance for student

/returnattendance

Input:
    1. class_code
    2. teacher_id
    3. student_id
Function: Returns the total attendance of the student for a particular teacher

attendance-app-back's People

Contributors

sunitasen avatar

Watchers

James Cloos avatar  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.