Skip to content

A Flutter Mobile App for a Test Task using bloc, RestAPIs, auto_route, and json_serializable packages

Notifications You must be signed in to change notification settings

AlexEduV/lanars_flutter_test_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lanars_flutter_test_task

A Flutter Mobile App for a Test Task from Lanars

Table of Contents

Features

  • Validates a login input from the user
  • Fetches pictures and user info from the Web using Rest APIs (dio)
  • clean architecture, with code generation, jsonSerializable models
  • bloc state management, with equatable.
  • a beautiful custom UI, based on a Figma Design

Tech Stack

  • Flutter ^3.5.0
  • Dart
  • Bloc, Equatable (State management)
  • Dio, JsonSerializable, Retrofit (Rest API)
  • Auto_Route (Routing)

Architecture

This project follows a Clean Architecture structure with the following layers:

  • data: API services and local storage (static variables).
  • domain: Business logic and entities.
  • presentation: UI and state management (Bloc).

Setup

To use the Pictures API, you should:

  1. Get api key from pexels here

  2. In the root of the project, create a .env file

  3. Paste your key like this: API_KEY='Your Key Here'

  4. Then run pub get to get all dependencies for the project.

  5. And run the project.

About

A Flutter Mobile App for a Test Task using bloc, RestAPIs, auto_route, and json_serializable packages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages