/resepmau_mvp_flutter

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

Primary LanguageDart

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