Giter VIP home page Giter VIP logo

pokedex's Introduction

Pokedex

App that lists all Pokemon and their details from PokeApi. This app is built with Flutter, focused on Android design.

For this poject Clean Architecture was choosen. Beacause keep the code clean and tested are the two most important development practices. Even state management patterns like BLoC are not sufficient in themselves to allow for easily extendable codebase. If you want to learn more about this, you can read my article here.

For this we should all strive to separate code into independent layers and depend on abstractions instead of concrete implementations.

Every "feature" of the app, like getting pokemons, is divided into 3 layers - presentation, domain and data. This app have only one feature.

The presentation layer contain Pages, Widgets and Bloc. The presentation layer contain Entities, Repositories and Usecases. It should be totally independent of every other layer. The data layer consists of a Repository implementation and data sources - this is usually for getting remote (API) data.

Starting ๐Ÿš€

These instructions will allow you to obtain a copy of the application for testing.

Getting Started

To build and run this project:

  1. Get Flutter here if you don't already have it
  2. Clone this repository git clone https://github.com/alvaroarmijos/pokedex.git
  3. cd into the repo folder cd pokedex
  4. flutter pub get
  5. run flutter run -android to run the app.

Just to ensure that the app works perfectly, add the following permission in AndroidManifest.xml file:

<uses-permission android:name="android.permission.INTERNET" />

You also need compile for Android for proper operation.

Running the example code

This sample requires Flutter 3.0.1.

Requirements ๐Ÿ“‹

You need these packages for the application to work

Built with ๐Ÿ› ๏ธ

pokedex's People

Contributors

alvaroarmijos avatar domiynsbelhanda avatar

Stargazers

 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.