College Event Registration
College Event Registration
College Event Registration
PROJECT REPORT ON
SUBMITTED BY
TO
UNIVERSITY OF MUMBAI
SUBMITTED IN PARTIAL FULFILLMENT OF REQUIREMENT
FOR QUALIFYING
B.Sc(C.S.) (SEM V) EXAMINATION
ACADAMIC YEAR 2019-20
1
COLLEGE EVENT REGISTRATION SYSTEM
CERTIFICATE
This is to certify that the project entitled
“College Event Registration System”
Under the guidance of Mrs.Sunita Koli is successfully completed by Pooja Sanjay
Jagdale . College Roll No.CS11, Seat No:…………. During the period of 2019-20, as
per the syllabus and fulfilment for the completion of the BSc-CS of University of
Mumbai. This certifies that this is the original work of the Candidate done during
the academic year 2019-20.
DATE:
2
COLLEGE EVENT REGISTRATION SYSTEM
Acknowledgement
“An act of gratitude is that which acknowledges the blessings
of well-wishers and supporting guidance of their rich experience,
which enlighten, inspires and motivates to do something valuable.”
I would like to and acknowledge kind support, facilities
specially made available to us by management of our institute
N.G.ACHARYA& D.K. MARATHE COLLEGE. We would not have
completed it without their whole hearted support.
I would like to thank our Honourable Principal -Dr.Vidyaguari
Lele for granting us different facilities to do the project under the
guidance of our faculty. Due to their indeed support this project
was possible.
I sincerely acknowledge with deep sense of gratitude and
indebtedness the support given by our HOD – Ms. Archana Jadhav,
for her kind hearted cooperation, guidelines and various
suggestions.
Last but not the least, I would also like to thank all the Faculty
members of the Computer Science Department for their generous
support and all the Lab Attendants for all their timely help.
3
COLLEGE EVENT REGISTRATION SYSTEM
4
COLLEGE EVENT REGISTRATION SYSTEM
INDEX
5
COLLEGE EVENT REGISTRATION SYSTEM
6
COLLEGE EVENT REGISTRATION SYSTEM
PRELIMINARY INVESTIGATION
7
COLLEGE EVENT REGISTRATION SYSTEM
1.1 INTRODUCTION
8
COLLEGE EVENT REGISTRATION SYSTEM
9
COLLEGE EVENT REGISTRATION SYSTEM
Time consumption:
Paper work:
Storage Requirement:
Less Reliable:
10
COLLEGE EVENT REGISTRATION SYSTEM
11
COLLEGE EVENT REGISTRATION SYSTEM
Hardware Requirements:
1GHz Processor Intel corei5 or Other Compatible.
Software Requirements:
Platform: Microsoft Windows or Linux (Ubuntu )
12
COLLEGE EVENT REGISTRATION SYSTEM
A. Economic Feasibility
B. Technical Feasibility
C. Operational Feasibility
Economic feasibility:
The proposed system would be economically beneficial for the
organization because of less of manual power & no time could be
consumed & less use of stationary less people the entries.
Technical feasibility:
My project is internally feasible as works present equipment current
procedure & existing software technology. Hardware & Software
Requirement is already available in present system. Then my project
is technical feasible.
Operational feasibility:
Our system save time it also provides data security there is no any
loss of data.
13
COLLEGE EVENT REGISTRATION SYSTEM
Stake holders are the person who success in the system. Stake holders
are main source of information.
2. Student:-
14
COLLEGE EVENT REGISTRATION SYSTEM
15
COLLEGE EVENT REGISTRATION SYSTEM
16
COLLEGE EVENT REGISTRATION SYSTEM
SYSTEM ANALYSIS
17
COLLEGE EVENT REGISTRATION SYSTEM
Easy To Use: The system is a user friendly and easy to use System
with Graphical User Interface features.
18
COLLEGE EVENT REGISTRATION SYSTEM
19
COLLEGE EVENT REGISTRATION SYSTEM
20
COLLEGE EVENT REGISTRATION SYSTEM
21
COLLEGE EVENT REGISTRATION SYSTEM
Use case diagrams represent use cases, actors and relationships between
use cases and actors.
22
COLLEGE EVENT REGISTRATION SYSTEM
2.6 SCENARIO
23
COLLEGE EVENT REGISTRATION SYSTEM
24
COLLEGE EVENT REGISTRATION SYSTEM
25
COLLEGE EVENT REGISTRATION SYSTEM
SYSTEM DESIGN
26
COLLEGE EVENT REGISTRATION SYSTEM
27
COLLEGE EVENT REGISTRATION SYSTEM
Table name:-physics
Name Type Key
firstname Text -
Lastname TEXT -
Conatactno Integer -
Email TEXT -
contactno Integer -
Email TEXT -
College TEXT -
project TEXT -
Mainevent TEXT -
Table name:-techage
Name Type Key
firstname Text -
Lastname Text -
Contactno Integer -
Email Text -
College Text -
Event Text -
Mainevent Text -
28
COLLEGE EVENT REGISTRATION SYSTEM
29
COLLEGE EVENT REGISTRATION SYSTEM
30
COLLEGE EVENT REGISTRATION SYSTEM
31
COLLEGE EVENT REGISTRATION SYSTEM
SYSTEM CODING
AND
SYSTEM LAYOUT
32
COLLEGE EVENT REGISTRATION SYSTEM
Main.py
from flask import Flask,render_template,request,redirect,url_for,session
import sqlite3 as sql
app=Flask(__name__)
@app.route('/')
def home1():
return render_template('home1.html')
@app.route('/home')
def home():
return render_template('home.html')
@app.route('/event')
def event():
return render_template('event.html')
@app.route('/admin/event')
def adminevent():
return render_template('adminevent.html')
@app.route('/phoniex')
def phoneix():
return render_template('phoneix1.html')
@app.route('/pixel')
def pixel():
return render_template('pixel1.html')
33
COLLEGE EVENT REGISTRATION SYSTEM
@app.route('/physicsfair')
def physicsfair():
return render_template('physicsfair1.html')
@app.route('/techage')
def techage():
return render_template('techage1.html')
@app.route('/list')
def list():
return render_template('list.html')
@app.route('/phoneixlist')
def phoneixlist():
return render_template('phoneixlist.html')
@app.route('/physicslist')
def physicslist():
return render_template('physicslist.html')
@app.route('/pixellist')
def pixellist():
return render_template('pixellist.html')
@app.route('/techagelist')
def techagelist():
return render_template('techagelist.html')
@app.route('/phoneixregis')
def phoneixregis():
return render_template('phoneixregis.html')
@app.route('/pixelregis',methods = ['POST', 'GET'])
34
COLLEGE EVENT REGISTRATION SYSTEM
def pixelregis():
return render_template('pixelregis.html')
@app.route('/physicsfairregis',methods = ['POST', 'GET'])
def physicsfairregis():
return render_template('physicsfairregis.html')
@app.route('/techageregis',methods = ['POST', 'GET'])
def techageregis():
return render_template('teckageregis.html')
@app.route('/adminhome',methods = ['POST', 'GET'])
def adminhome():
return render_template('adminhome.html')
@app.route('/adminlogin',methods=['POST','GET'])
def adminlogin():
error = None
if request.method =='POST':
if request.form['username'] != 'admin' or request.form['password'] != 'admin':
error = 'Invalid Credentials. Please try again.'
else:
return redirect(url_for('adminhome'))
return render_template("adminlogin.html",error=error)
@app.route('/addrecphoneix',methods=['POST', 'GET'])
def addrecphoneix():
if request.method=='POST':
try:
firstname=request.form['firstname']
35
COLLEGE EVENT REGISTRATION SYSTEM
lastname=request.form['lastname']
contactno=request.form['contactno']
email=request.form['email']
college=request.form['collegename']
event=request.form['phoneix']
mainevent='phoneix'
with sql.connect("database.db")as con:
cur=con.cursor()
cur.execute("INSERT INTO
phoneix(firstname,lastname,contactno,email,college,event,mainevent)VALUES(?,
?,?,?,?,?,?)",(firstname,lastname,contactno,email,college,event,mainevent))
con.commit()
msg1="record successfully added"
# session['firstname']=firstname
#session['lastname']=lastname
#session['contactno']=contactno
#session['email']=email
#msg1= "In the basket are %s and %s" %
(session['firstname'],session['lastname'])
except:
con.rollback()
msg1="error in insert operation"
finally:
return render_template('result.html',msg1=msg1)
con.close()
@app.route('/addrecpixel',methods=['POST', 'GET'])
36
COLLEGE EVENT REGISTRATION SYSTEM
def addrecpixel():
if request.method=='POST':
try:
firstname=request.form['firstname']
lastname=request.form['lastname']
contactno=request.form['contactno']
email=request.form['email']
college=request.form['collegename']
event=request.form['pixel']
mainevent='pixel'
with sql.connect("database.db")as con:
cur=con.cursor()
cur.execute("INSERT INTO
pixel(firstname,lastname,contactno,email,college,event,mainevent)VALUES(?,?,?,
?,?,?,?)",(firstname,lastname,contactno,email,college,event,mainevent))
con.commit()
msg1="record successfully added"
except:
con.rollback()
msg1="error in insert operation"
finally:
return render_template('result.html',msg1=msg1)
con.close()
@app.route('/addrecphysicsfair',methods=['POST', 'GET'])
def addrecphysicsfair():
if request.method=='POST':
37
COLLEGE EVENT REGISTRATION SYSTEM
try:
firstname=request.form['firstname']
lastname=request.form['lastname']
contactno=request.form['contactno']
email=request.form['email']
college=request.form['collegename']
project=request.form['project']
mainevent='physicsfair'
with sql.connect("database.db")as con:
cur=con.cursor()
#(name Text,contactno TEXT,email TEXT,college TEXT,project
TEXT,mainevent TEXT)
cur.execute("INSERT INTO
physics(firstname,lastname,contactno,email,college,project,mainevent)VALUES(?,
?,?,?,?,?,?)",(firstname,lastname,contactno,email,college,project,mainevent))
con.commit()
msg1="record successfully added"
except:
con.rollback()
msg1="error in insert operation"
finally:
return render_template('result.html',msg1=msg1)
con.close()
@app.route('/addrectechage',methods=['POST', 'GET'])
def addrectechage():
if request.method=='POST':
38
COLLEGE EVENT REGISTRATION SYSTEM
try:
firstname=request.form['firstname']
lastname=request.form['lastname']
contactno=request.form['contactno']
email=request.form['email']
college=request.form['collegename']
event=request.form['techage']
mainevent='techage'
with sql.connect("database.db")as con:
cur=con.cursor()
#(name Text,contactno TEXT,email TEXT,college TEXT,event
TEXT,mainevent TEXT)
cur.execute("INSERT INTO
techage(firstname,lastname,contactno,email,college,event,mainevent)VALUES(?,?
,?,?,?,?,?)",(firstname,lastname,contactno,email,college,event,mainevent))
con.commit()
msg1="record successfully added"
except:
con.rollback()
msg1="error in insert operation"
finally:
return render_template('result.html',msg1=msg1)
con.close()
@app.route("/desrecphoneix")
def desrecphoneix():
con=sql.connect("database.db")
39
COLLEGE EVENT REGISTRATION SYSTEM
con.row_factory=sql.Row
cur=con.cursor()
cur.execute("select * from phoneix")
rows=cur.fetchall()
print (rows)
return render_template("phoneixlist.html",rows=rows)
@app.route("/desrecpixel")
def desrecpixel():
con=sql.connect("database.db")
con.row_factory=sql.Row
cur=con.cursor()
cur.execute("select * from pixel")
rows=cur.fetchall()
print (rows)
return render_template("pixellist.html",rows=rows)
@app.route("/desrecphysicsfair")
def desrecphysicsfair():
con=sql.connect("database.db")
con.row_factory=sql.Row
cur=con.cursor()
cur.execute("select * from physics")
rows=cur.fetchall()
print (rows)
return render_template("physicslist.html",rows=rows)
@app.route("/desrectechage")
40
COLLEGE EVENT REGISTRATION SYSTEM
def desrectechage():
con=sql.connect("database.db")
con.row_factory=sql.Row
cur=con.cursor()
cur.execute("select * from techage")
rows=cur.fetchall()
print (rows)
return render_template("techagelist.html",rows=rows)
#[email protected]
if __name__ == '__main__':
app.run(debug = True)
41
COLLEGE EVENT REGISTRATION SYSTEM
42
COLLEGE EVENT REGISTRATION SYSTEM
IMPLEMENTATION
43
COLLEGE EVENT REGISTRATION SYSTEM
44
COLLEGE EVENT REGISTRATION SYSTEM
@exam.c
om form
5 Userr05 College registrati Data College Error: Pass
name on should be name Field
successful empty empty
add
Admin page
REQ- TESTCASE FIELD MODU PRE TEST EXPEC ACT
ID -ID NAME LE CONDITI STEP TED UAL
NAME ON RESULT RES
ULT
1 admin01 Username Login Login page 1.enter Input Login
should get username should be succe
open 2. enter accepted ssfull
password & next y
3.click page
login In should
get
opened
46
COLLEGE EVENT REGISTRATION SYSTEM
3. This system can be provided with an interactive help menu for the
new users
47
COLLEGE EVENT REGISTRATION SYSTEM
CONCLUSION
“College Event Registration System” was made such that the problem
fixed by the consultancy with its meeting the requirements would be
over. The burden of the manually done activities was made easy with the
development of site. The admin can view data and performance analysis
can be done.
48
COLLEGE EVENT REGISTRATION SYSTEM
REFERENCES
www.google.com
www.w3schools.com
www.youtube.com
stackoverflow.com
flask tutorial.com
49