Now This project has been published on freshlybuilt.com Here is the link:
https://freshlybuilt.com/event-management-system-using-python-flask/
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
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
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.
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
Please Test the code in time-interval between 9AM -9PM otherwise SMS API servicies doesn't work, its a free API policy.
Solve this error by running the following commmand
pip install module_name
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.
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.
Front has been developed on HTML,CSS,Javascript. It have the following page:
- index - This is the homescreen page having the two option for host and visitor.
- Host - Page is developed for getting information from the host
- Hostthank - Thank you message page with home button.
- visitor - This page has been developed to get visitor information with checkin time.
- hostcheck This page will be triggered when visitor just check-in to provide an check-out option.
- thankvisitor This is thank giving page to the visitor.
Backend is developed using the Python Flask with SQLAlchemy(Object Relational Mapper(ORM)) database and TextLocal API for SMS delivery.
- 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.
Information -> Database -> Host Back to Homescreen
Information -> Database -> Information fetch -> Transfered to Email and SMS function -> Successfully Transfered to Host -> checkout by visitor -> Information Email to user End.
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
Email : [email protected]