Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

This is a flutter app with mvp architecture pattern. Features : Login, Register, and CRUD, logout

Notifications You must be signed in to change notification settings

ydhnwb/resepmau_mvp_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Basic Flutter App (CRUD and Login/Register) using MVP design pattern

This is a simple android app with basic function like crud and login - register
with Model-View-Presenter Peresentation Pattern

For the API you can use our api at https://resep-mau.herokuapp.com/api/

thanks to royhan31 for api

url : https://resep-mau.herokuapp.com/api/login [POST]
https://resep-mau.herokuapp.com/api/register [POST]
https://resep-mau.herokuapp.com/api/post [GET]
https://resep-mau.herokuapp.com/api/post [POST]
https://resep-mau.herokuapp.com/api/post/{id} [GET]
https://resep-mau.herokuapp.com/api/post/{id} [PUT]
https://resep-mau.herokuapp.com/api/post/{id} [DELETE]

You can always see my sample at this project

header: Authorization : Bearer <your_api_token_from registering_or_login_user>

Note

Im using retrofit library for flutter. I dont know why @PUT method not work
when im using @FormUrlEncoded().

So, i change it and send parameters as json. :)

YOU DONT NEED TO WRITE CODE WITH XX.G.DART
file with g.dart is generated automtically with syntax:

flutter pub run build_runner build

for more please visit retrofit flutter page.

Screenshot

Here are some sample images

About

This is a flutter app with mvp architecture pattern. Features : Login, Register, and CRUD, logout

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published