[![build](https://github.com/felangel/bloc/workflows/build/badge.svg)](https://github.com/felangel/bloc/actions)

# Github Search

Sample project which illustrates how to setup a Flutter and AngularDart project with code sharing.

## Quick Start

_Make sure you have the [Dart SDK](https://dart.dev/tools/sdk) and [Flutter SDK](https://flutter.dev/docs/get-started/install) installed before proceeding._

Open this project in your editor of choice (VSCode is recommended).

### Setup

1. Install dependencies for `common_github_search`:

   ```bash
   # change directories into common_github_search
   cd common_github_search

   # install dependencies
   pub get

   # change directories back out to the root directory
   cd ../
   ```

2. Install dependencies for `flutter_github_search`

   ```bash
   # change directories into flutter_github_search
   cd flutter_github_search

   # install dependencies
   flutter packages get

   # change directories back out to the root directory
   cd ../
   ```

3. Install dependencies for `angular_github_search`

   ```bash
   # change directories into flutter_github_search
   cd angular_github_search

   # install dependencies
   pub get

   # change directories into flutter_github_search
   cd ../
   ```

### Run Flutter

```bash
# change directories into flutter_github_search
cd flutter_github_search

# run the flutter project
flutter run
```

### Run AngularDart

```bash

# change directories into angular_github_search
cd angular_github_search

# run the angular project
webdev serve
```
