Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redjanym/planeto-flutter-workshop
Ky repository permban source code e perdorur ne workshop e zhvilluar ne daten 18-12-2019 me temen: Building Android and iOS apps with Flutter SDK by Google
https://github.com/redjanym/planeto-flutter-workshop
dart flutter flutter-apps flutter-examples planets workshops
Last synced: about 1 month ago
JSON representation
Ky repository permban source code e perdorur ne workshop e zhvilluar ne daten 18-12-2019 me temen: Building Android and iOS apps with Flutter SDK by Google
- Host: GitHub
- URL: https://github.com/redjanym/planeto-flutter-workshop
- Owner: redjanym
- Created: 2019-12-23T23:11:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-24T00:32:04.000Z (almost 5 years ago)
- Last Synced: 2023-12-18T10:11:49.658Z (11 months ago)
- Topics: dart, flutter, flutter-apps, flutter-examples, planets, workshops
- Language: PHP
- Size: 10.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Planeto
A Flutter project created as a demo presentation during the Flutter Workshop with title: Building Android and iOS apps using Flutter SDK by Google.
## Downloading repository
```
git clone https://github.com/redjanym/planeto-flutter-workshop.gitcd planeto-flutter-workshop/
```## Getting Started
This repository includes 2 separate codebases:
### - API
A set of simple PHP scripts which provide an API endpoint:
1- http://localhost/planeto-flutter-workshop/api (you can change this url to the one adapted to where you cloned the repository)
- Method: GET
- Response Type: JSON
- Response: Array of Objects
- Optional parameters:
- q: String to filter for the name of the planetIn order to use the API scripts you need to have installed in your machine PHP and a Web Server(like Apache).
### - Flutter Mobile App
In order to use the source code you need to install Flutter SDK, a development environment like Android or iOS and an IDE.
To install Flutter and the Development Environment follow the instructions here: https://flutter.dev/docs/get-started/install
To use as an IDE i recommend using Visual Studio Code: https://code.visualstudio.com/ but you are free to choose whatever is best for you.
After installing everything:
```
# go to mobile app directory
cd mobile_app/# install flutter dependencies
flutter pub get# connect a mobile phone or open an Android or iOS simulator then run the app
flutter run
```In file ```lib/helpers/config.dart``` you can substitute constant ```BASE_API_URL``` with the correct url for your installation in order to access the API.
For any questions open an issue on this repository, contact at ```[email protected]``` or join our community on Facebook and Medium at: https://www.facebook.com/flutteralbania and https://medium.com/flutter-albania.
Enjoy and see you on the next workshops :)