Skip to content

Setup endpoints for EB and optimized existing code #8

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

Merged
merged 21 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
623252b
Fixed script not reading values if not exact match
SVijayB Nov 12, 2021
5f2c72b
Supressed position from showing up in the json file
SVijayB Nov 12, 2021
5304574
Implemented dept based dict (Finally).
SVijayB Nov 12, 2021
dd25397
Setup base template for eb member details
SVijayB Nov 12, 2021
a46d5e8
Completed setting up CSV file upload POST request
SVijayB Nov 12, 2021
7f9b5a2
Convert CSV data to JSON for mongodb
SVijayB Nov 12, 2021
3f4e1f1
Connecting to db and inserting data added
SVijayB Nov 12, 2021
c6500f0
GET data from mongoDB
SVijayB Nov 12, 2021
cf1345c
Fixed getData() not displaying recent document
SVijayB Nov 12, 2021
bf07849
Added API_KEY to prevent access to post request
SVijayB Nov 12, 2021
205f883
Added script that gets current EB details
SVijayB Nov 12, 2021
c2500e0
Merge branch 'main' into dev
SVijayB Dec 11, 2021
3526584
Optimized code - Removed iterating through entire DB to find an event.
SVijayB Dec 12, 2021
0825234
Updated endpoints to accept eventID as an argument.
SVijayB Dec 12, 2021
98dbb08
Updated json schema and error codes
SVijayB Dec 12, 2021
1b55fa6
- Moved db_connection to util, Updated endpoints, completed setting up
SVijayB Dec 12, 2021
65dfa7a
Fixed document not updating when same year is used
SVijayB Dec 12, 2021
d408d5d
GET request completed for EB details
SVijayB Dec 12, 2021
e109bcf
Added GET request for current EB
SVijayB Dec 12, 2021
de0fe51
Added deleting data. Completed setting up EB.
SVijayB Dec 12, 2021
59ca05f
Fix type - hierarchy
SVijayB Dec 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.env
env
\__pycache__
venv/
venv/
temp
58 changes: 29 additions & 29 deletions examples/ebDetails.csv
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
Name,Position,Discord,Email,LinkedIn,GitHub,Description,Year
Asish Kumar Dalai,Club Coordinator,-,-,-,-,-,-
Ojasva Jain,Secretary,Ojasva#4398,[email protected] ,https://www.linkedin.com/in/ojasva-jain-9958071b2,https://github.com/ojasva,"Windows user, but Open source supporter. ",2021
N. Krishna Raj,Technical Lead,KodeReaper#7759,[email protected],https://www.linkedin.com/in/n-krishna-raj/,https://github.com/kode-logger,"Octocats never die, they only Evolve.",2021
Mahesh Dasika,Developer,Tech-Dynamo#5367,[email protected],https://www.linkedin.com/in/mahesh-d-178b681b8/,https://github.com/mahesh-11102,Tech and Auto enthusiast,2021
Sai Pranay,Technical Lead,sai pranay#9087,[email protected],https://www.linkedin.com/in/saipranay47/,https://github.com/saipranay47,I build things for the web,2021
S Vijay Balaji,Community Leader,StranGe#9634,[email protected],https://www.linkedin.com/in/svijayb/,https://github.com/SVijayB,"The more you sweat in peace, the less you bleed in war.",2021
M Abhiram Kalyan,Head of videography,Abhiram#3959,[email protected],https://www.linkedin.com/in/abhiram-kalyan-883445190/,https://github.com/abhiram-kalyan,,2021
GVS Sai Madhav,Technical Lead,DarthVader#3395,[email protected],https://www.linkedin.com/in/gvssmadhav,https://github.com/gvssaimadhav,"Soon, We Are Going to Live in the Era of AI.",2021
Ch.Sabareesh Reddy,Social Media Lead,Sabareesh Reddy#1907,[email protected],https://www.linkedin.com/in/sabareesh-reddy-chowkacherla-6834a6196/,https://github.com/Sabareesh000,,2021
Bhargavi Chada,Vice President,bhargavi#2592,[email protected],https://www.linkedin.com/in/bhargavi-chada/,https://github.com/BhargaviChada,I like trains.,2021
S.V.HarshaVardhan,Director,cody07#0153,[email protected],https://www.linkedin.com/in/harsha-samudrala-3ba66a216/,https://github.com/harsha0703,Think different for a better future. ,2021
Datta Adithya G V,President,Hel#3566,[email protected],https://www.linkedin.com/in/datta-adithya/,https://github.com/dat-adi,Kind of a pogchamp.,2021
Chirag Gupta,Chief Editor,chiragg#1721,[email protected],https://www.linkedin.com/in/chirag-gupta-8a16161ba,https://github.com/chiragg06,I overthink the niche.,2021
T. Chethan,Event lead,Chethan#4848,[email protected],https://www.linkedin.com/in/chethan-tirupati-523251194,https://github.com/chethantirupati,,2021
Tarini Guttula,Head of public relations,Tarini#3832,[email protected],https://www.linkedin.com/in/tarinig/,https://github.com/tatiniG/,when day dreams become reality,2021
Kaarthik,Chairman ,-,-,-,-,-,-
M V S S Maruti Kameshwar,Event lead,maruti kameshawar#5033,[email protected],https://www.linkedin.com/in/maruti-kameshwar-6b8846215/,https://github.com/marutikameshwar,,2021
Aryan Mohanty,Developer,Aryan Mohanty#1066,[email protected],https://www.linkedin.com/in/aryan-mohanty-230160221/,https://GitHub.com/AryanVIT,Better never means better for everyone it always means worse for some,2021
Lakshmi Teja P,Treasurer,Lakshmi Teja#5620,[email protected],https://www.linkedin.com/in/lakshmi-teja-bb45861a1/,https://github.com/LakshmiTejaP,A simple soul who gets really excited when the sky is in pretty colors.,2021
Ashutosh Patel,Developer,Ashutosh#8081,[email protected],https://www.linkedin.com/in/ashutosh-patel-a828a4221/,https://github.com/ashu168,Don't complain just work harder,2021
Rahul Alokkan,Organizer,RA7#0512,[email protected],https://www.linkedin.com/in/rahul-alokkan-16384b196/,https://github.com/Rahul-Alokkan,Tech Entusiast ,2021
Sai Shaket Kalivarapu,Documentation Specialist,Fushiguro#6451,[email protected],https://www.linkedin.com/in/sai-shaket-kalivarapu-51327618a/,https://github.com/KilluaZ06,I try to be the fun one,2021
Dhruv Jha,Track lead,fullmeteor172#9084,[email protected],https://www.linkedin.com/in/dhruv-jha-2002/,https://github.com/fullmeteor172,"Not lazy, just on power saving mode ;-;",2021
Praseeda kallakuri,Designer,praseeda kallakuri#8374,[email protected],https://www.linkedin.com/in/praseeda-kallakuri-970334221,https://github.com/praseedakallakuri,creative soul!!,2021
Nishita Singh,Organizer,Nishita Singh#8630,[email protected],,,,2021
A. Loukya,Developer,loukya#7114,[email protected],https://www.linkedin.com/in/adepu-loukya-67a345221/,https://github.com/A-Loukya,,2021
Angel Maria Stanley,HR Lead,BlacDarc#9677,[email protected],https://www.linkedin.com/in/angel-stanly-218a0893/,https://github.com/Maiden23,"I dont know , and who cares , nobody is gonna read this anyways XD.",2021
P. Kaarthik Sai,Head of marketing,CYRUS PLAGUE#3634,[email protected],https://www.linkedin.com/in/kaarthik-patibandla-30017219a/,https://github.com/kaarthik01,That which does not kill us makes us stronger,2021
Name,Position,Discord,Email,LinkedIn,GitHub,Description
Asish Kumar Dalai,Club Coordinator,-,[email protected],https://www.linkedin.com/in/asish-kumar-dalai-7b25ab169?originalSubdomain=in,-,-
Ojasva Jain,Secretary,Ojasva#4398,[email protected] ,https://www.linkedin.com/in/ojasva-jain-9958071b2,https://github.com/ojasva,"Windows user, but Open source supporter. "
N. Krishna Raj,Technical Lead,KodeReaper#7759,[email protected],https://www.linkedin.com/in/n-krishna-raj/,https://github.com/kode-logger,"Octocats never die, they only Evolve."
Mahesh Dasika,Developer,Tech-Dynamo#5367,[email protected],https://www.linkedin.com/in/mahesh-d-178b681b8/,https://github.com/mahesh-11102,Tech and Auto enthusiast
Sai Pranay,Technical Lead,sai pranay#9087,[email protected],https://www.linkedin.com/in/saipranay47/,https://github.com/saipranay47,I build things for the web
S Vijay Balaji,Community Leader,StranGe#9634,[email protected],https://www.linkedin.com/in/svijayb/,https://github.com/SVijayB,"The more you sweat in peace, the less you bleed in war."
M Abhiram Kalyan,Head of videography,Abhiram#3959,[email protected],https://www.linkedin.com/in/abhiram-kalyan-883445190/,https://github.com/abhiram-kalyan,
GVS Sai Madhav,Technical Lead,DarthVader#3395,[email protected],https://www.linkedin.com/in/gvssmadhav,https://github.com/gvssaimadhav,"Soon, We Are Going to Live in the Era of AI."
Ch.Sabareesh Reddy,Social Media Lead,Sabareesh Reddy#1907,[email protected],https://www.linkedin.com/in/sabareesh-reddy-chowkacherla-6834a6196/,https://github.com/Sabareesh000,
Bhargavi Chada,Vice President,bhargavi#2592,[email protected],https://www.linkedin.com/in/bhargavi-chada/,https://github.com/BhargaviChada,I like trains.
S.V.HarshaVardhan,Director,cody07#0153,[email protected],https://www.linkedin.com/in/harsha-samudrala-3ba66a216/,https://github.com/harsha0703,Think different for a better future.
Datta Adithya G V,President,Hel#3566,[email protected],https://www.linkedin.com/in/datta-adithya/,https://github.com/dat-adi,Kind of a pogchamp.
Chirag Gupta,Chief Editor,chiragg#1721,[email protected],https://www.linkedin.com/in/chirag-gupta-8a16161ba,https://github.com/chiragg06,I overthink the niche.
T. Chethan,Event lead,Chethan#4848,[email protected],https://www.linkedin.com/in/chethan-tirupati-523251194,https://github.com/chethantirupati,
Tarini Guttula,Head of public relations,Tarini#3832,[email protected],https://www.linkedin.com/in/tarinig/,https://github.com/tatiniG/,when day dreams become reality
TBA ,Chairman ,-,-,-,-,-
M V S S Maruti Kameshwar,Event lead,maruti kameshawar#5033,[email protected],https://www.linkedin.com/in/maruti-kameshwar-6b8846215/,https://github.com/marutikameshwar,
Aryan Mohanty,Developer,Aryan Mohanty#1066,[email protected],https://www.linkedin.com/in/aryan-mohanty-230160221/,https://GitHub.com/AryanVIT,Better never means better for everyone it always means worse for some
Lakshmi Teja P,Treasurer,Lakshmi Teja#5620,[email protected],https://www.linkedin.com/in/lakshmi-teja-bb45861a1/,https://github.com/LakshmiTejaP,A simple soul who gets really excited when the sky is in pretty colors.
Ashutosh Patel,Developer,Ashutosh#8081,[email protected],https://www.linkedin.com/in/ashutosh-patel-a828a4221/,https://github.com/ashu168,Don't complain just work harder
Rahul Alokkan,Organizer,RA7#0512,[email protected],https://www.linkedin.com/in/rahul-alokkan-16384b196/,https://github.com/Rahul-Alokkan,Tech Entusiast
Sai Shaket Kalivarapu,Documentation Specialist,Fushiguro#6451,[email protected],https://www.linkedin.com/in/sai-shaket-kalivarapu-51327618a/,https://github.com/KilluaZ06,I try to be the fun one
Dhruv Jha,Track lead,fullmeteor172#9084,[email protected],https://www.linkedin.com/in/dhruv-jha-2002/,https://github.com/fullmeteor172,"Not lazy, just on power saving mode ;-;"
Praseeda kallakuri,Designer,praseeda kallakuri#8374,[email protected],https://www.linkedin.com/in/praseeda-kallakuri-970334221,https://github.com/praseedakallakuri,creative soul!!
Nishita Singh,Organizer,Nishita Singh#8630,[email protected],,,
A. Loukya,Developer,loukya#7114,[email protected],https://www.linkedin.com/in/adepu-loukya-67a345221/,https://github.com/A-Loukya,
Angel Maria Stanley,HR Lead,BlacDarc#9677,[email protected],https://www.linkedin.com/in/angel-stanly-218a0893/,https://github.com/Maiden23,"I dont know , and who cares , nobody is gonna read this anyways XD."
P. Kaarthik Sai,Head of marketing,CYRUS PLAGUE#3634,[email protected],https://www.linkedin.com/in/kaarthik-patibandla-30017219a/,https://github.com/kaarthik01,That which does not kill us makes us stronger
Loading