This repository contains a rebuild of the current website https://www.assurancewireless.com/. The goals of this project is to improve Assurance Wireless's Lifeline application process by implementing the following features and services.
- Submit Application
- Check Application Status
- Create Account (implements sumbit applcation)
- A user account must be created once an application is successfully submitted
- A customer must be able to view his application status after logging in (completed)
- Fix bugs: null users, user account can be created from failed application submition
- Function
register()
in line 22 ofLifelineAssistant/__init__.py
needs to be split in two
- Function
- Use Email Validation API to prevent users from entering non-existent email addresses - High Importantce
- Mimic existing zip code API to generate the city and state that belongs to an inputed zip code - Medium Importance
- Modifying Applications: Accepy, Deny
- View Applications: Filter by status, search distinct strings
- Modify user accounts (pending)
- View located here
/Views/admin_templates/accounts.html
- View located here
- Ask Question (customer)
- Respond to Question (employee)
- View Chat Queue (employee)
- Socket IO API
- jQuery
- Python
- MySQL
- Research how to build a bot for the IRC channel. The bot will answer a few frequently asked questions by customers - Medium Importance
- Python version 3.0 or greater
- Pip version 3.0 or greater
- Flask Web Framework
- Clone or download this repository
- Install flask using command
pip install flask
- Configure database in mysql shell with command
source C:/path/to/Assurance_Wireless/DbConfig.sql
- Replace lines 11 and 12 of
/LifelineAssistant/__init__.py
with your own mysql credentials
app.config['MYSQL_USER'] = '<your username>'
app.config['MYSQL_PASSWORD'] = '<your password>'
- Replace line 8 of
/LifelineAssistant/views/sessionView.py
with your own mysql credentials
mysql = MySQLdb.connect(host='localhost', user='YOUR-USERNAME', passwd='YOUR-PASSWORD', db='awla_db')
In an integrated terminal or command prompt enter the following commands in the project's directory.
set FLASK_APP=LifelineAssistant
set FLASK_DEBUG=1
flask run