devdennysegura / flutter-netflix-clone

149 stars 67 forks source link

host not working #4

Open ghost opened 5 years ago

ghost commented 5 years ago

host doesnt works ..Is there any other way for geting api in this project

final String host = 'https://97c89adc.ngrok.io'; Client client = Client();

final response = await client.get('$host/api/Home');

devdennysegura commented 4 years ago

Readme Guide

$ clone this repo $ Install flutter dependencies $ Install Netflix NodeJS & MongoDB $ Run NodeJS $ Change host String on src/resources/movie_api_provider.dart $ flutter run

you need to run your server locally and change the host to run the app