Skip to content

aNaoy/flask-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Example

Not so simple Flask example.

About

This example simulates a simple website that users can signup and login.

It uses Flask, jinja2, Flask-Bcrypt and dal.py (from web2py).

Just run "python main.py" to start the server.

What it shows? (from a learning perspective)

  • Signup
  • Login
  • How to store passwords in a secure way and check them for authentication
  • URLs restricted by authentication
  • Database integration
  • Templates from multiple directories
  • Serve static files from multiple directories under the same URL pattern (similar to Django STATICFILES_DIRS)

License

dal.py is licensed under LGPLv3. All other files are licensed under the MIT License.

About

Not so simple Flask example.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published