Skip to content

Boilerplate flet dev app with multiple pages and basic functionalities like login and # and home page

License

Notifications You must be signed in to change notification settings

TonyXdZ/flet-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flet-Base

This repository contains a basic Flet application built using the Flet-model module. It demonstrates core functionalities like:

  • User Authentication:

    • Login page with username and password input fields.
    • # page with email, username, password, and confirm password fields.
    • Basic user authentication logic (replace with your own implementation).

    The app does not send any requests you will be redirected to Home page after you enter random username and password in Login page or random info in # page

  • Navigation in home page:

    • Bottom navigation bar with Home, Messages, and Profile views.

Getting Started

  1. Clone the repository:

    git clone git@github.com:TonyXdZ/flet-base.git
  2. Install dependencies:

After activating your virtual environment :

pip install -r requirements.txt
  1. Run the application:
    flet run app.py 

Project Structure

flet-base/
├── app.py             # Main application file
├── pages/
│   ├── login.py       # Login page view
│   ├── #.py      # # page view
│   ├── home.py        # Home page view
└── ...                 # Other files 

Contributing

Contributions are welcome! Please feel free to fork this repository and submit pull requests.

License

This project is licensed under the MIT License.

Note:

This is a basic example. You should adapt and extend it to fit your specific needs. Consider adding features like:

  • Sending requests: Requests using requests python module to your api enpoint to get data like JWT token for user and user data.
  • Error handling and user feedback: Check if server is alive and user is connected and provide human readable errors.
  • Improved UI/UX: Enhance the visual appeal and user experience.
  • Security measures: Implement robust security measures to protect user data by using client encrypt and decrypt from flet.security before saving it to client storage.

About

Boilerplate flet dev app with multiple pages and basic functionalities like login and # and home page

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages