Professional Documents
Culture Documents
Pooja Pro
Pooja Pro
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
Chembur-Trombay Education Society’s
N.G Acharya& D. K. Marathe College
Of Arts, Commerce, Science & Professional Courses
N.G AcharyaMarg, Chembur (E), Mumbai-400071
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
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
INDEX
5
4) System Layout and System Coding
4.1 System Layout
4.2 System Coding
5) Implementation
5.1 System Implementation
5.2 Test Cases
5.3 Future Enhancement
6) Conclusion
7) References
6
PRELIMINARY INVESTIGATION
7
1.1 INTRODUCTION
College Event Registration System
8
1.2 DESCRIPTION OF SYSTEM
9
1.3 LIMITATIONS OF THE PREVIOUS SYSTEM
Time consumption:
Paper work:
Storage Requirement:
Less Reliable:
10
1.4 PROPOSED SYSTEM
11
1.5 SYSTEM REQUIREMENT SPECIFICATION
Hardware Requirements:
1GHz Processor Intel corei5 or Other Compatible.
Software Requirements:
Platform: Microsoft Windows or Linux (Ubuntu )
12
1.6 FEASIBILITY STUDY
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
1.7 STAKE HOLDERS
Stake holders are the person who success in the system. Stake holders
are main source of information.
2. Student:-
14
1.8 GANTT CHART
15
16
SYSTEM ANALYSIS
17
2.1 FACT FINDING TECHNIQUES
Easy To Use: The system is a user friendly and easy to use System
with Graphical User Interface features.
18
2.2 EVENT TABLE
19
2.3 ENTITY RELATIONSHIP DIAGRAM
20
2.4 CLASS DIAGRAM
21
2.5 USECASE DIAGRAM
Use case diagrams represent use cases, actors and relationships between
use cases and actors.
22
2.6 SCENARIO
23
2.7 ACTIVITY DIAGRAM
24
2.8 SEQUENCE DIAGRAM
25
SYSTEM DESIGN
26
3.1 CONVERTING ERD TO TABLES
Table name:-phoneix
Name Type Key
Firstname Text -
Lastname Text -
Contactno Integer -
Email Text -
College Text -
Event TEXT -
Mainevent -
27
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
3.2 COMPONENT DIAGRAM
29
3.3 DEPLOYMENT DIAGRAM
30
3.4 WEBSITE SITE MAP
31
SYSTEM LAYOUT
AND
SYSTEM CODING
32
4.1 SYSTEM LAYOUT
Homepage:-
Event page:-
33
Event info page:-
Registration page:-
34
Admin Login:-
35
Display Registered event list:-
36
4.2 SYSTEM CODING
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')
@app.route('/physicsfair')
37
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'])
def pixelregis():
38
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']
lastname=request.form['lastname']
39
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'])
def addrecpixel():
40
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':
try:
41
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':
try:
42
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")
con.row_factory=sql.Row
43
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")
def desrectechage():
44
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)
#patil998707@gmail.com
if __name__ == '__main__':
app.run(debug = True)
45
IMPLEMENTATION
46
5.1 SYSTEM IMPLEMENTATION
47
5.2 TEST CASES
48
om form
5 User05 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
49
5.3 FUTURE ENHANCEMENT
3. This system can be provided with an interactive help menu for the
new users
50
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.
51
BIBLOGRAPHY
Websites Referred:
www.google.com
www.w3schools.com
www.youtube.com
stackoverflow.com
flask tutorial.com
Book Referred:
Flask Tutorial
Python Tutorial
52