Before using this project, you will need to have Appwrite instance with Almost Netflix project ready. You can visit Project setup GitHub repository or Dev.to post.
$ git clone https://github.com/appwrite/demo-almost-netflix-for-flutter.git
$ cd demo-almost-netflix-for-flutter
$ open -a Simulator.app
$ flutter run
Make sure to update Endpoint and ProjectID in lib/api/client.dart
.
The application will be listening on port 3000
. You can visit in on URL http://localhost:3000
.
The assets directory contains your images such as logos as well as anything else you would like your project to use, be sure to update pubspec.yaml
with any addition folders.
More information about assets can be found in the documentation.
The lib/api
folder contains our API request client that is used for communicating with Appwrite endpoints.
The lib/data
folder is where we put anything that represents data such as our models
We use the lib/extensions
folder to extend the Dart language with helpers for convience methods.
Our lib/providers
folder is where we create our ChangeNotifiers
that allow observation and access across our app.
For more information about Provider library we used can be found in the documentation
Directory lib/screens
is where we place all of our top level views and responsible for laying out how we present to our users.
The lib/widgets
directory contains all of our Flutter widgets. Widgets are the main component of Flutter and can make up different pars of your screen.
For more information on Widgets can be found in the documentation