Skip to content

Instantly share code, notes, and snippets.

@rava-dosa
Last active September 8, 2018 12:05
Show Gist options
  • Save rava-dosa/16720785a2a9ff05cfebd59aa567d443 to your computer and use it in GitHub Desktop.
Save rava-dosa/16720785a2a9ff05cfebd59aa567d443 to your computer and use it in GitHub Desktop.
├── admin # this contained business logic for admin users. Seperated using blueprints.
│   ├── 2111.csv
│   ├── admin.py
│   ├── bugzilla.py # this was that bugzilla scraper to scrape
│   ├── gemail.py #this was used to mail
│   ├── github.py # this was used to scrape issues from github wrt keywords. It was kind of scraping api.
│   └── __init__.py
├── guideline
├── __init__.py
├── install.sh
├── main.py
├── mydatabase.db
├── my.db
├── out
├── requirements.txt
├── settings.py
├── static
│   ├── js
│   │   ├── form.js
│   │   └── sidebar.js
│   ├── sidebar.css
│   ├── style.css
│   └── styles.css
├── templates
│   ├── admin.html
│   ├── date_user.html
│   ├── hello.html
│   ├── hello_user.html
│   ├── login.html
│   ├── table.html
│   └── user.html
├── try.py
└── user # this is for user directory like I had for admin and user.py contained routes to non admin user
├── __init__.py
└── user.py
# So in flask we can seperate business logic using bluprints. This was one big project which I did in approximately 2-days at the end of my internship.
# and spent the last dat testing and debugging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment