Giter Site home page Giter Site logo

mo7amedaliebaid / kafka Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 0.0 37.4 MB

A flutter project for the novels and quotes of Franz Kafka - clean architecture- mobile - web - responsive - cubit- provider- hive-dio

Home Page: https://e-branch-804fb.web.app/

License: MIT License

Kotlin 0.12% Swift 1.93% Objective-C 0.04% Dart 53.45% CMake 18.61% C++ 22.62% C 1.42% HTML 1.82%
bloc books-app cubit dart flutter flutter-web hive responsive-design books-website clean-architecture

kafka's Introduction

kafka

A flutter Multi Platform project for the novels and quotes of Franz_Kafka

  • Multi Platform (Mobile Android,Ios, Tablet, Web, Desktop Linux)
  • Multiple themes
  • Responsive Design (Portrait, Landscape, Tablet, Desktop)
  • Clean Architecture
  • Books Api => Dio
  • Quotes Api => Dio
  • Data Caching => Hive
  • Cubits
  • Providers
  • Books View
  • Quotes View
  • Loading Shimmer
  • Details Screen
  • Firebase hosting

Remarks

 final response = await dio.get(
        'https://www.googleapis.com/books/v1/volumes?q=inauthor:"Franz+Kafka"&maxResults=40',
      );
  • For the quotes api Here the api key is required in this case you can get your key from Rapid_Api. You can change the post request body as it suits your usage.
final response = await dio.post(
          'https://quotel-quotes.p.rapidapi.com/search',
          data: {
            "pageSize": 25,
            "page": 0,
            "searchString": 'Franz Kafka'
          },
          options: Options(
            headers: {
              'content-type': 'application/json',
              'X-RapidAPI-Key': MyQuotesApiKey,  // Api key is required get it from https://rapidapi.com/skjaldbaka17/api/quotel-quotes
              'X-RapidAPI-Host': 'quotel-quotes.p.rapidapi.com'
            },
          )
      );
  • Run flutter pub run build_runner build command in your terminal to generate book_model.g and quote_model.g
  • Run flutter build web --web-renderer html --release in your terminal instead of flutter build web if you have problems in web release.
  • for testing your web release you can use firebase hosting it's free.

Web Demo

Visit Website from here Web_Demo

Download Apk

Demo Video

Screenshots.

Fore more screen shots Here

creating book_model.g.dart

creating quote_model.g.dart

Widget Tree.

mobile

Portrait.

Landscape.

Linux

web

kafka's People

Contributors

mo7amedaliebaid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kafka's Issues

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.