Skip to content

KomkatStudio/newsnews

Repository files navigation

NewsNews - Simple News App but not simple, I think :))

All Contributors Flutter

Features

  • All Top headlines, by category.
  • Recommend news by user data.
  • Search news.
  • Pump your favorite news.
  • Login by Google.

Technology used

  • flutter_bloc for state management, supported by very_good_cli and use bootstrap of this pub (I love VeryGoodVentures, you are very amazing).
  • Authentication, Storage, DB using Firebase.
  • Uncle Bob's Clean Architecture.
  • Recommender System (in processing).

Directory structure

project
│   README.md
│
│
└───lib
│   |
│   └───core
│   |   |
│   │   └───helpers <--[Helpers function like customShowDialog(context)]
│   |   |
│   │   └───themes  <--[Colors]
│   |   |
│   │   └───utils   <--[logger, validator, cache manager, sharedPref,..]
│   │
│   └───data
│   |   |
│   │   └───api  <-[Provider data from remote]
│   |   |
│   │   └───models
│   |   |
│   │   └───repositories
│   |   |
│   │   └───services
│   |           |
│   │           └───socket_io_service.dart  <--[Socket.io service]
│   │           |
│   │           └───cloudinary_service.dart <--[Cloudinary service]
│   │
│   └───modules <-[Screens, Controllers, Binding,... support modules]
│   |
│   └───routes  <-[Define routes and pages for named navigator, binding]
│   |
│   └───widgets <-[Common widgets for reusing]
│   |
│   └───main.dart
│
│
└───assets
        └───icons
        |
        └───images
        |
        └───logos
        |
        └───lottie <-[lottie animation]
        |
        └───.env <-[.env for environment]

Setup and run

Click to expand
  • Download APK
  • Setup and run
    • Flutter
      • Install Flutter.
      • Using stable channel:
        ❯ flutter channel stable
        ❯ flutter upgrade
      • Flutter doctor:
        ❯ flutter doctor
      • Install all the packages by:
        ❯ flutter pub get
      • Create .env file assets/.env has following structure:
        BASE_URL=NEWS.ORG_API
      • Run app on real devices or emulator by:
        ❯ flutter run
        or debug mode in VSCode or some IDEs

Screenshots

Splash, Intro, SignIn, SignUp

View Screenshots
Splash Screen Intro1 Intro2
Intro3 Intro4
Sign In Sign Up

Main Screen (Member Role)

View Screenshots
Home Screen Choose if you feel good Choose if you feel bad to finding doctor
More Symptoms Result for choosing symptoms Choose Doctor
Search Chat Screen Chat Room
Chat With Typing Event Socket Image Preview Before Sending All Prescriptions
Detail Prescription Detail Information Member role Edit Information
Detail Information Doctor Change password dialog Dialog choose avatar
More news WebView

Main Screen (Doctor Role)

View Screenshots
Home Screen Chat Screen Chat Room
Chat With Typing Event Socket Create Precription Image Preview Before Sending
All Prescriptions Detail Prescription Edit a Prescription
Detail Information Doctor role Edit Information Dialog choose avatar
More news WebView

Some gif(s)

View gif(s)
Finding Doctor By Symptoms

Todo

  • WebRTC for voice, video call
  • Notifications
  • Rebuild UI (i think no no no because i am very lazy 😣)

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Nguyễn Minh Dũng
💻 📖

Releases

No releases published

Packages

No packages published

Languages