In-vincible / technexUser

Repository contains the website for Techno-Management Fest "Technex" , organized by IIT BHU.

Home Page:http://www.technex.in/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TECHNEX

Event,hospitality and registration management website for the Techno-Management Fest organized by Indian Institute of Technology (BHU) Varanasi. HO

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. The dashboard provides total management of

Technology Stack

mainly:

Django 1.9
Angular 1
Jquery
Bootstrap
Dropbox Api for saving abstracts
Facebook Api for Auth, profile change, auto share,comment,like etc
PIL for picture overlay
cloudinary Api for saving profile pics.

Prerequisites

Python 2.7, postgresql 9 or above, virtualenv(preferably virtualenv wrapper too, though not neccessarily)

Installing

create an environment via virtualenv(or preferably using virtualenvwrapper which easier to manage !)

git clone https://github.com/In-vincible/technexUser.git

cd technexuser

pip install -r requirements.txt

Running website

Facebook auth may not work on local server, and sheets link have to be changed.

Api Documentation

Login Api



Url: http://technexuser.herokuapp.com/api/login
Method: POST
Json object Expected:
{
"email" : email,
"password" : password
}

Json Response for successful Login:
{
"status" : 1
"email" : emailOfUser,
"name" : firstName,
"college" : collegeName,
"year" : year(1,2,3,4,5)
"mobileNumber" : mobileNumber
}

Json Response for wrong Username/password:
{
"status" : 0
}
Json Response for Error in processing:
{ "status":2 }

Json Response for Already Logged in User:
{ "status":3 }

Logout Api

Url: https://technexuser.herokuapp.com/api/logout Method: POST Json Expected: {"email":"email of user"} Json on successful logout: {"status":1} Json on failure or wrong email: {"status":0}

Event Api



Url: https://technexuser.herokuapp.com/api/eventApi
Method: GET/POST
No parameter Expected
Json Response :{

				"data":[
				{
					"name":parentEventName,
					"description":parentEventDescription,
					"events":[
							{
								"eventName":eventName,
								"eventDescription":eventDescription,
								"deadLine":deadLineOfEvent,
								"prizeMoney":prizeMoney,
								"maxMembers":maxmimNumberOfMembersAllowedInTeam,
								"eventOptions":[
										{
											"optionName":optionName,
											"optionDescription":optionDescription,
										}
										]
							}
						]
				}
		
		
					]
				"status":1
	}

Forgot Password Api

(UI not build till now although,it is totally functional)

Url: https://technexuser.herokuapp.com/api/forgotPass/
Method: POST
Json expected:
{
"email":email Of Registered User
}
Json response if reset mail sent to your mail:
{
"status": 1
}

Json response if email given is not registered:
{
"status": 0
}

Json response for network error(try again in this case, althoug not likely to come):
{
"status": 2
}

Event Registration Api

link:https://technexuser.herokuapp.com/api/eventReg/ Expected JSon:

{'eventSlug': 'robowars', 'members': ['memberEmail1 or TechnexId1','memberEmail2 or TechnexId2'], u'teamName': 'TeamName', 'teamLeaderEmail': 'b@b.com'}

SuccessFul Json Response: { "status":1 }

Error Response: { "status":0, "Error":"Error Message" }

Workshop Api

url: https://technexuser.herokuapp.com/api/workshops/ Sample Response: { "status": 1, "workshops": [ { "description": "Description", "title": "automobiles", "image": "", "workshopOptions": [], "dateTime": "2017-01-04T17:03:52Z", "workshopFees": 809099, "order": 1 } ] }

#guestLectureApi url:https://technexuser.herokuapp.com/api/guestLecture/ Resposne:

{ "lectures": [ { "title": "-", "designation": "Senior Research Scientist-NASA", "lectureType": "-", "photo": "http://technex.in/static/assets/testimonial/rosley.png", "description": "

-

", "lecturerName": "Dr. Rosaly Lopes", "lecturerBio": "

Dr. Rosaly Lopes : Senior Research Scientist-NASA Dr. Rosaly Lopes-Gautier is one of NASA’s leading planetary geologists and volcanologists. Born in Rio de Janerio, Brazil, she moved to England to do her B.Sc. in Astronomy from the University of London. In a career spanning Europe and the US, she was involved in fieldwork at several active volcanoes. She joined NASA’s Jet Propulsion Laboratory in 1989, and has hence become an expert on Io and Titan, two moons of Jupiter. She has also worked extensively to disseminate knowledge on planetary geology through documentaries, books and public lectures; and has won several awards, including the 2005 Carl Sagan award and the 2007 NASA Exceptional Service medal.

" }, { "title": "-", "designation": "Senior Researcher: IDSIA, Switzerland", "lectureType": "-", "photo": "http://technex.in/static/assets/testimonial/gianni%20di%20caro.png", "description": "

-

", "lecturerName": "Gianni di Caro", "lecturerBio": "

Gianni di Caro: Senior Researcher: IDSIA, Switzerland; Multi-Robot Network & Swarm robotics Specialist. An inter-disciplinary researcher, Gianni di Caro is a senior researcher at IDSIA, Switzerland. An alumni of ULB, Brussels, he is currently involved in researching communications between and with large swarms of robots, particularly in the field of rescue operations. He has at various points worked on telecommunications, brain mapping, modelling the human immune system and in artificial intelligence. How work is highly cross-disciplinary in nature, as he researches natural examples such as ant swarms and their behavior to model networks and swarm robots.

" }, { "title": "-", "designation": "MD & CEO :Futurebrands", "lectureType": "-", "photo": "http://technex.in/static/assets/testimonial/santoshdesai.png", "description": "

-

", "lecturerName": "Mr. Santosh Desai", "lecturerBio": "

Mr. Santosh Desai-MD & CEO :Futurebrands , Ex-President: McCann Erickson. A marketing genius, boardroom titan and accidental writer, Santosh Desai is the MD & CEO of Futurebrands ltd. An MBA holder from IIM Ahemdabad, he has worked in managerial and marketing positions in companies across the world. Prior to his current post, he worked as the President of McCann Erickson. Known for considering and understanding the impact of culture in people’s choices, he became an expert in marketing and has since branched out to writing. His column “City City Bang Bang” is known for looking at society from an everyday viewpoint, and his first book, Mother Pious Lady, was released in 2015.

" }, { "title": "-", "designation": "MD CEO Britannia", "lectureType": "-", "photo": "http://technex.in/static/assets/testimonial/vinitabali.png", "description": "

-

", "lecturerName": "Ms. Vinita Bali", "lecturerBio": "

Ms. Vinita Bali- MD CEO Britannia & "Businesswoman of the Year" for 2009 by Economic Times. A long standing titan in the Indian business field, Vinita Bali was a graduate of LSR College, Delhi. She went on to do an MBA and have a diverse career ranging from interning at the UN and working as marketing and business strategy in several major brands. Her work as a marketer made brands such as Coca-Cola, Cadbury, Rasna and Britannia into household names across India, Africa, Latin America, China and Asia. Apart from being a clever marketer and strategist, she is also a tireless social worker whose work earned Britannia a Corporate Social Responsibility award. In 2009, Economic Times named her "Businesswoman of the year".In 2011, Forbes named her one of “Asia’s 50 Power Businesswomen”.

" }, { "title": "-", "designation": "Lead Scientist- Hadron Collider-CERN High Energy", "lectureType": "-", "photo": "http://technex.in/static/assets/testimonial/atulgurtu.png", "description": "

-

", "lecturerName": "Mr. Atul Gurtu", "lecturerBio": "

Mr. Atul Gurtu :Lead Scientist- Hadron Collider-CERN High Energy Physicist: TIFR A renowned particle physicist, Atul Gurtu was the head of a 70-man team at the Large Hadron Collider in its early days. A graduate of Punjab University, he worked for four decades at the Tata Institute of Fundamental Research and joined CERN in testing the prototype LHC in the mid 90’s. He worked for a short while as a distinguished professor at King Abdul Aziz university in Saudi Arabia. He has since retired.

" }, { "title": "-", "designation": "Editorial Director: The New Indian Express", "lectureType": "-", "photo": "http://technex.in/static/assets/testimonial/prabhuchawla.png", "description": "

-

", "lecturerName": "Mr. Prabhu Chawla", "lecturerBio": "

Mr. Prabhu Chawla- Editorial Director: The New Indian Express, Anchor of “Seedhi Baat”. Prabhu Chawla is the Editorial Director of The New Indian Express. Earlier, he held the post of Editorial Director in the India Today magazine and the host of the popular Seedhi Baat programme on Aaj Tak. He holds the dubious honour of breaking an Indian Government with his daring exposé of the Jain Committee report. A Padma Bhushan awardee, his work in journalism earned him numerous awards from institutes all over the country.

" }, { "title": "-", "designation": "DRDO", "lectureType": "-", "photo": "http://s3.amazonaws.com/37assets/svn/765-default-avatar.png", "description": "

-

", "lecturerName": "Milan Kumar Pal", "lecturerBio": "

Milan Kumar Pal is target system specialist scientist at DRDO.

" } ], "status": 1 }

Short Apis

Response: {"data":[{"introduction":"Intro", "content":"content"}], "status":1 }

Error Response: {"status":0}

Urls: https://technexuser.herokuapp.com/api/startUpFairApi/ https://technexuser.herokuapp.com/api/exhibitionsApi/ https://technexuser.herokuapp.com/api/pronitesApi/ https://technexuser.herokuapp.com/api/instituteDayApi/ https://technexuser.herokuapp.com/api/corporateConclaveApi/ https://technexuser.herokuapp.com/api/hospitalityApi/

About

Repository contains the website for Techno-Management Fest "Technex" , organized by IIT BHU.

http://www.technex.in/


Languages

Language:JavaScript 38.5%Language:CSS 29.7%Language:HTML 26.5%Language:Python 5.2%