Coder Social home page Coder Social logo

aayushpaigwar / flutter-session-management Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 293 KB

A Sample Flutter App for User Session Management

Home Page: https://aayushpaigwar.hashnode.dev/how-to-use-shared-preferences-to-keep-users-logged-in-on-flutter-apps

License: MIT License

Kotlin 2.13% Ruby 22.70% Swift 11.06% Objective-C 0.61% Dart 63.50%
dart flutter sharedpreferences

flutter-session-management's Introduction

Flutter Session Management Thumbnail

Flutter Session Management

This Flutter project demonstrates how to manage user sessions using shared preferences. It includes a basic login system, session management, and logout functionality.

Features

  • Simple login and logout functionality
  • Persistent login state using shared preferences
  • Example of session management/session handling in Flutter

Tech Stack

  • Flutter: For building the mobile application.
  • Dart: Programming language used by Flutter.
  • Shared Preferences: A Package used for storing key-value pairs on the device.

Getting Started

Prerequisites

  • Flutter SDK installed
  • Dart installed
  • An editor like VS Code or Android Studio

Installation

  1. Clone the repository:

    git clone https://github.com/AayushPaigwar/flutter-session-management.git
    
    cd flutter-session-management
  2. Install dependencies:

     flutter pub get
  3. Run the project:

     flutter run

Project Structure

flutter-session-management
├── android
├── ios
├── lib
│   ├── home_page.dart           # Home page UI
│   ├── login.dart               # Login page UI
│   └── main.dart                # Main entry point
├── .gitignore
├── pubspec.yaml                 # Project dependencies
├── README.md                    # Project documentation
└── LICENSE                      # MIT License

Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue to improve the project.

License

Distributed under the MIT License. See LICENSE for more information.


Happy coding! 🚀

flutter-session-management's People

Contributors

aayushpaigwar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.