{"id":20710397,"url":"https://github.com/ericwindmill/flutter_by_example","last_synced_at":"2025-04-23T05:23:08.545Z","repository":{"id":55935942,"uuid":"191425188","full_name":"ericwindmill/flutter_by_example","owner":"ericwindmill","description":"A mono repo for the new flutter by example web app.","archived":false,"fork":false,"pushed_at":"2020-12-06T01:12:25.000Z","size":22868,"stargazers_count":42,"open_issues_count":1,"forks_count":19,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-02-28T04:17:37.049Z","etag":null,"topics":["dart","flutter","flutterweb"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericwindmill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-11T18:05:47.000Z","updated_at":"2022-11-02T08:49:45.000Z","dependencies_parsed_at":"2022-08-15T09:50:44.333Z","dependency_job_id":null,"html_url":"https://github.com/ericwindmill/flutter_by_example","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericwindmill%2Fflutter_by_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericwindmill%2Fflutter_by_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericwindmill%2Fflutter_by_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericwindmill%2Fflutter_by_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericwindmill","download_url":"https://codeload.github.com/ericwindmill/flutter_by_example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224989856,"owners_count":17403413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","flutter","flutterweb"],"created_at":"2024-11-17T02:11:34.170Z","updated_at":"2024-11-17T02:11:34.764Z","avatar_url":"https://github.com/ericwindmill.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter (and Dart) by Example mono repo.\n\ndevelopment:\n\n1. First, make sure Dart2 and Aqueduct are installed on your machine\n\n    [Dart 2](https://dart.dev/get-dart)\n\n    [Aqueduct](https://aqueduct.io/docs/getting_started/)\n\n2. Next, navigate to th file at `./flutter_by_example_monorepo/clients/web/lib/src/app/repositories/posts_respository_filesystem.dart`. Here, you'll need to comment out the `BASE_URL` variable that points to heroku and uncomment the variable that points to localhost. YES, it is janky SO WHAT\n\n3. Finally, run the commands below\n\n```text\ncd common\npub get\n\ncd ../cms_server\npub get\ndart --observe bin/dev.dart\n\ncd ../clients/web\npub get\nwebdev serve\n```\n\nServer is running at localhost:3000\nSite is running at localhost:8080\n\n**NB:** be sure to revert the `BASE_URL` variable to the heroku URL before committing to master!!!\n\n## Adding content\n\nIf you want to add a new tutorial to the app, you need to do two things:\n\n1.  Create the **markdown** file and fill it with content.\n    - The file *must* be in the `cms_server/public/content` directory. Within that directory, the location in the filesystem is inconsequential and just for us humans.\n    - It must have valid frontmatter. I suggest copy and pasting the frontmatter from another file. Or from here:\n\n    ```yaml       \n    ---\n    title: \"Built-in Animation: Hero transition\" \n    author: \"Eric\"\n    category: \"Flutter UI Example Apps\" \n    subSection: \"Basic App\"\n    tags:\n        - AnimatedCrossFade\n        - Hero\n    ---\n    ```\n\n2.  Add it the file to the table of contents.\n    - The table of contents lives at `common/lib/src/table_of_contents.dart`  (or at the link below)\n        - [https://github.com/ericwindmill/flutter_by_example/blob/master/common/lib/src/table_of_contents.dart](https://github.com/ericwindmill/flutter_by_example/blob/master/common/lib/src/table_of_contents.dart)\n    - The names / categories / subcategories titles must match the front matter *exactly.* I'm still pondering the contents structure, so feel free to take liberties with creating new categories, etc.\n- If you're writing an article, please keep the following sudo-style-guide bullets in mind:\n    - Every tutorial page on the site should be useful *on its own*. Especially the lessons that are one off examples and not tied to a larger, complete app.\n    - Conversational, natural voice! I don't care if you use the word 'fuck' on Flutter by Example, as long as it's *authentic*. Writing like a human talks, which is unlike a robot talks, is super important.\n    - Using DartPad's 'test' feature is encouraged.\n        - The link below is to a cool guide all about using DartPad in tutorials.\n        - [Dartpad](https://dart.dev/resources/dartpad-tutorials.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericwindmill%2Fflutter_by_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericwindmill%2Fflutter_by_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericwindmill%2Fflutter_by_example/lists"}