ArnaudDuhamel / recipee_app

A recipee for the mobile programming course
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Learn how to make API calls in Android #14

Open ArnaudDuhamel opened 10 months ago

ArnaudDuhamel commented 10 months ago

I found this tutorial: https://dev.to/ethand91/android-jetpack-compose-api-tutorial-1kh5

ArnaudDuhamel commented 10 months ago

To download the JSON server, this is the command:

npm install -g json-server

Then, the command to start the server is:

npx json-server --watch -p <port number> <json file>
ArnaudDuhamel commented 10 months ago

The tutorial above was not working, so I found this one: https://developer.android.com/courses/pathways/android-basics-compose-unit-5-pathway-1

ArnaudDuhamel commented 10 months ago

To save time, this part of the app has set aside. Texts will be hard coded instead.