Skip to content

mdgspace/2023_lecture_1_note_app

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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%