Skip to content

mdgspace/2023_lecture_1_note_app

 
 

Repository files navigation

note_app

It is a demo app for flutter beginners. It has a few features to get you started:

  • basic CRUD operations
  • auth from a third party
  • local storage

Getting Started

This project is for beginners to start learning Flutter by understandingj the code.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Structure

note_app/lib/
├── core/                                   # for setting up router, locator
├── database/                               # for storing databases and db configurations
├── model/                                  # model classes: schemas for different objects
|   ├── user.dart                           # user model for auth
|   └── note.dart                           # note model
├── screens                                 # screens: views
|   ├── login_page.dart                     
|   ├── signup_page.dart                    
|   ├── home_page.dart                      
|   └── note_page.dart                      
├── services/                               # services
|   ├── auth_service.dart                   # AUTH implementations
|   ├── local_storage_service.dart          # service to store data locally
|   └── note_service.dart                   # API implementations for notes
├── utils/                                  # utilities such as color_combinations
└── main.dart                               # heart of the app

Running

To build the app on your device you will need Flutter SDK, Android SDK, Android toolchain. You will also need to plug your phone to PC through USB and make sure USB Debugging is enabled under Developer options

$ flutter clean
$ flutter pub get
$ flutter run

Note: if you are on VS Code or Android Studio you can choose option Run without Debugging which allows for hot reload and hot restart.

If you have any doubts feel free to chat with us here

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 46.0%
  • C++ 25.8%
  • CMake 23.0%
  • HTML 2.2%
  • C 1.8%
  • Swift 1.0%
  • Other 0.2%