Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dept and branch fields in user info #30

Closed
ridhishjain-zepto opened this issue Oct 15, 2020 · 0 comments · Fixed by #33
Closed

Dept and branch fields in user info #30

ridhishjain-zepto opened this issue Oct 15, 2020 · 0 comments · Fixed by #33
Assignees
Labels
enhancement New feature or request priority

Comments

@ridhishjain-zepto
Copy link
Collaborator

ridhishjain-zepto commented Oct 15, 2020

Add a dept, branch, and bio column in the user table, API change:

  • /signup (branch and department from frontend as integer)
  • /getUser (send branch and department as integer to frontend)
  • /updateUser (update value of branch and department integer taken from frontend in DB)

Bio:

  • /getUser (send bio as a string to frontend)
  • /updateUser (take bio as a string and update in DB)

Department:

INSERT INTO `department` (`
id`,
`dept_name
`) VALUES
(0, 'Electrical Engineering'),
(1, 'Computer Science and Engineering'),
(2, 'Electronics Engineering'),
(3, 'Applied Mathematics'),
(4, 'Applied Physics'),
(5, 'Mechanical Engineering'),
(6, 'Civil Engineering'),
(7, 'Chemical Engineering'),
(8, 'Environmental Science and Engineering'),
(9, 'Mining Engineering'),
(10, 'Petroleum Engineering'),
(11, 'Humanities and Social Sciences'),
(12, 'Management Studies'),
(13, 'Fuel and Mineral Engineering'),
(14, 'Mining Machinery Engineering');

Branch

INSERT INTO `branch` (`
id`,
`branch_name
`) VALUES
(0, 'B.Tech'),
(1, 'M.Tech'),
(2, 'Dual Degree'),
(3, 'Integrated B.Tech and M.Tech');
@ridhishjain-zepto ridhishjain-zepto self-assigned this Oct 15, 2020
@ridhishjain-zepto ridhishjain-zepto added enhancement New feature or request priority labels Oct 15, 2020
@ridhishjain-zepto ridhishjain-zepto changed the title Dept and course fields in user info Dept and branch fields in user info Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant