-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPIKE: Make Basic REST API Request #6
Comments
@nelsonic Working on this one right now 😎 |
Links that may be helpful in resolving this issue. |
failure + persistence = progress. 😉 |
Of course I'll get a new API key from the site and keep going until I get it. |
This is the link that can help. When I have some progress I will comment here or in case I have more doubts I will open an issue. https://stackoverflow.com/questions/53936739/how-to-control-gif-animation-in-flutter |
@nelsonic I think the error was in using the API key. Where should I put ? Along with the link ? |
@nelsonic I was looking at the example you did on elm but I can't figure out one thing where the API key is ? |
@miguelmartins17 we need to investigate how to use Environment Variables in Dart/Flutter. That way you can include the API key in your app but not hard-code it. see: dwyl/learn-environment-variables#20 |
@nelsonic I think I've now reached the point where I need help I haven't been able to get the random gifs to work |
Ok. In a comment here on GitHub, describe what you are trying to achieve in as much detail as possible and exactly what you have already tried. Then, while I am editing/expanding your comment, you open an account on https://stackoverflow.com |
This is the repository I found at the github. |
@nelsonic The code didn't work for me. It doesn't show the gifs like it's loading. |
@miguelmartins17 I tried to run it on my
Followed the instructions on https://flutter.dev/docs/development/androidx-migration When I attempted to run Refactor > Migrate to AndroidX I see the following: There wasn't anything to change in the project ... but it still didn't run. 🙄 Then while reading |
How can I push the files to GitHub except the one with the API key? I'm trying to push the code to the GitHub but I don't want to put the |
@miguelmartins17 did you read https://github.com/dwyl/learn-environment-variables ? The Dart/Flutter dotenv package: https://github.com/java-james/flutter_dotenv |
@nelsonic Thanks, so I'm gonna do that, and I'm gonna push it to the GitHub. |
Closing as the code created is now out-of-date. 😞 |
We will need to make API requests to our Phoenix Backend App in order to save data to the remote database. With that in mind we need to write a quick tutorial on how to make API requests in Flutter.
Todo
rest-api-tutorial.md
andPotential useful links:
If you have any questions on any part of this, please ask by commenting below.
If you are new to APIs or need a refresh/reminder, watch this video: dwyl/learn-api-design#38
@miguelmartins17 in case you are wondering why this issue has the word "SPIKE" in the title,
see: https://en.wikipedia.org/wiki/Spike_(software_development) 😉
The text was updated successfully, but these errors were encountered: