arafaysaleem / library_management_system

A library management app made with Flutter framework
MIT License
30 stars 22 forks source link

A few missing API components #4

Open millesm opened 10 months ago

millesm commented 10 months ago

Hi Great little project and I've enjoyed getting it up and running using mock api end points to make things work. Learnt a lot about flutter having such a complete app to play with.

I've now got the oracle side working and noticed that there are a few missing components from your API package. Those that are prefixed with 'pkg' in your 'endpoint_enum.dart' code all work fine, but those without that prefix are missing. I have since created basic 'get' apis and those parts now work getting the app up and running.

The 'sign-up' process has a SIGN_UP endpoint enum but no associated URI and the sign-up process is using the MEMBERS endpoint which then fails. Note that I created this API as you did not have in your package so likely you have code to handle the sign-up call whereas I don't (yet).

Thanks for the great project

arafaysaleem commented 10 months ago

Hey man,

Thank you for kind compliment. I've always tried to help the community learn advanced flutter using full scale projects.

Since this project is quite old, I no longer maintain it and it probably has some legacy flutter code. Once you're done playing with this, I suggest you take a look at other more recent projects on my github. They follow much more best practices and are also not very legacy codes.