Skip to content

Latest commit

 

History

History
98 lines (78 loc) · 6.25 KB

README.md

File metadata and controls

98 lines (78 loc) · 6.25 KB

Publication

Now This project has been published on freshlybuilt.com Here is the link:

https://freshlybuilt.com/event-management-system-using-python-flask/

Entry-Management-Software

This project has been developed for solving notification problem for host and visitor. It is a web application based on Python Flask with SQLAlchemy Database and Textlocal API

Problem-Statement

If you have any client or deal fixing meeting with anyone,then everyone want an website or app that can notify the arrival of the visitor by SMS or Email to the host with information such as Name, Email, Phone Number and Checkin time. And as visitor, everyone want host information with check in and check out time though an registered Email

Solution

This web application will trigger an email and an SMS to the host informing him of the details of the visitor. And after checkout by Visitor, he will get an information of host with checkin and checkout time.

How to Setup the Website

Step 1) Download the zip file of the project and extract it to your local system Step 2) Open the terminal to the project folder location
** Specifying the path in terminal

cd location_of_the_folder 

Step 3) Instaling the packages

pip install -r requirements.txt

Step 4) Running the Project on the local system

 python app.py 

Step 5) Open

 http://localhost:5000 

on your browser

Note

Please Test the code in time-interval between 9AM -9PM otherwise SMS API servicies doesn't work, its a free API policy.

Error Possibilities

Modulenofounderror

Solve this error by running the following commmand

pip install module_name

Not Getting The SMS

API has limit to only 10 sms sending to any number. I have consumed 1 sms for testing and and 1 sms for screenshot purpose, so it have only 8 SMS balance now.
If you can check the balance in the terminal of the SMS usage.

How does Application Work

At the Homescreen,User have an two button option, One for Host and One for visitor.First Host have to fill up the detail in the host section. All the host detail get saved into database and screen will show up Thank page to the host.
Now,If you are visiting as visitor, select the visitor option on the homescreen. Fillup your detail on the given form, click on the checkin button.Now all the information will get save into the database and now application will trigger an Email and Sms to the Host about the visitor arrival with his information. Checkout page will trigged on the visitor screen with Checkout button. After clicking on the checkout button, Visitor will get an information regarding the host with check-in and check-out time through an Email.Finally Thank message will on the visitor Screen.

Note: I has not hide host button, to make the user application simple for testing purpose by Evaluator.

Application Overview

Front End

Front has been developed on HTML,CSS,Javascript. It have the following page:

  1. index - This is the homescreen page having the two option for host and visitor. Screenshot from 2019-11-28 10-31-06
  2. Host - Page is developed for getting information from the host Screenshot from 2019-11-28 10-33-24
  3. Hostthank - Thank you message page with home button. Screenshot from 2019-11-28 10-34-47
  4. visitor - This page has been developed to get visitor information with checkin time. Screenshot from 2019-11-28 10-40-30
  5. hostcheck This page will be triggered when visitor just check-in to provide an check-out option. Screenshot from 2019-11-28 10-41-42
  6. thankvisitor This is thank giving page to the visitor. Screenshot from 2019-11-28 10-43-34

Backend

Backend is developed using the Python Flask with SQLAlchemy(Object Relational Mapper(ORM)) database and TextLocal API for SMS delivery.

  1. Python Flask : Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions.

2. SQLAlchemy : SQLAlchemy is an open-source SQL toolkit and object-relational mapper for the Python programming language released under the MIT License
3. TextLocal Sms Api: With an Textlocal account,user have instant access to API, this enables user to easily integrate SMS services with website, software or CRM application in PHP, ASP, .NET, Java or any other language.

Overview

Host Backend Overview

Information -> Database -> Host Back to Homescreen 

Visitor Backend Overview

Information -> Database -> Information fetch -> Transfered to Email and SMS function -> Successfully Transfered to Host -> checkout by visitor -> Information Email to user End.

Basic Overview

Screenshot from 2019-11-28 11-23-38

Output Result

Host E-Mail

Screenshot_20191128-233053

Host SMS

Screenshot_20191128-114056

Visitor EMail

Screenshot_20191128-115742

Note

Screenshot can have diffrent time as features are tested on different time. SMS feature is tested only 2 time as it have usage bound of 10 SMS for an single account on free trial

Support

Email : [email protected]

Thank you