*ഉദ്ദേശിക്കുന്നത് അടുത്തുള്ള വീട്ടുകാർക്കും കുടുംബക്കാർ
url: https://handcesell.donams.com
Frontend is a single page app build using Angular 11
Control Panel
Next, we will create certain folders in order to separate different components of our code. Create the following directories in bloc_login/
- api_connection (will contain the code to communicate with our API)
- common (Will contain utility widgets like loading indicator)
- dao (Will contain a helper file in order to communicate with our sqlite database)
- model (Will contain schema of our database)
- repository (Will act as a bridge between our API, blocs, and database)
Control Panel
- Users - Create users. Need username, password, First name, Last name etc. These users can login to our site.
- Roles - eg: Agent, Employee, Admin etc
- User Roles: Assign roles to users. eg: Arun(user) -> Agent(role), Lavanya(user) -> Agent(role)
- Sync Menu: Create new modules and menus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>IndexedDB</title> | |
</head> | |
<body> | |
<!-- https://www.codeproject.com/Articles/325135/Getting-Started-with-IndexedDB --> | |
<output id="printOutput"></output> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
import os | |
from xml.dom.minidom import parse, parseString | |
def download(sura, ayas): | |
print(sura) | |
for aya in range(1, ayas+1): | |
fname = f'{sura:03}{aya:03}.mp3' | |
if not os.path.isfile(fname): | |
url = f'http://www.everyayah.com/data/Hudhaify_128kbps/{sura:03}{aya:03}.mp3' |
NewerOlder