{"id":17158685,"url":"https://github.com/siruscodes/stocker","last_synced_at":"2025-04-13T13:40:55.474Z","repository":{"id":51690223,"uuid":"485428449","full_name":"SirusCodes/stocker","owner":"SirusCodes","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-12T22:14:21.000Z","size":6716,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T04:41:30.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SirusCodes.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":"2022-04-25T15:30:11.000Z","updated_at":"2025-03-09T18:36:28.000Z","dependencies_parsed_at":"2022-08-23T01:10:14.370Z","dependency_job_id":null,"html_url":"https://github.com/SirusCodes/stocker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirusCodes%2Fstocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirusCodes%2Fstocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirusCodes%2Fstocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirusCodes%2Fstocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SirusCodes","download_url":"https://codeload.github.com/SirusCodes/stocker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724158,"owners_count":21151556,"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":[],"created_at":"2024-10-14T22:12:17.494Z","updated_at":"2025-04-13T13:40:55.448Z","avatar_url":"https://github.com/SirusCodes.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stocker\n\n![Stocker banner](/mockups/stocker%20thumb.webp)\n\nIt is an inventory and sales management app made using [Flutter](flutter.dev) and [Appwrite](appwrite.io).\n\nThis project is made for [#appwritehack](https://dev.to/devteam/announcing-the-appwrite-hackathon-on-dev-1oc0) submitted at [here](https://dev.to/siruswrites/stocker-an-inventory-and-crm-app-made-using-flutter-and-appwrite-m65).\n\n## Video\n\n[![Stocker - An Inventory and CRM app made using Flutter and Appwrite](https://img.youtube.com/vi/PQvL0BjCfLA/0.jpg)](https://www.youtube.com/watch?v=PQvL0BjCfLA)\n\n## Screenshots\n\n|                                                                                                 |                                                                                    |                                                                          |\n| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |\n| ![Home page](/mockups/home.png)                                                                 | ![Home page (light mode)](/mockups/home-light.png)                                 | ![Overall search](/mockups/overall-search.png)                           |\n| Home page which lists categories                                                                | Home page in light theme                                                           | Search page where you can search for products irrespective of categories |\n| ![Stats section](/mockups/stats.png)                                                            | ![More section](/mockups/more-section.png)                                         | ![Profile page](/mockups/profile.png)                                    |\n| Shows stats about your sales and profits                                                        | More options for app                                                               | User profile to change password                                          |\n| ![Transaction history](/mockups/transaction-history.png)                                        | ![Add category](/mockups/add-category.png)                                         | ![Color picker in category](/mockups/category-color-picker.png)          |\n| Transaction history with option to filter by all, buy or sell                                   | Page to add new categories                                                         | Color picker to pick a color for category                                |\n| ![Add product](/mockups/add-product.png)                                                        | ![Sort in product](/mockups/products-sort.png)                                     | ![Adding product in cart](/mockups/add-to-cart.png)                      |\n| Page to add new products                                                                        | Product and categories can be sorted alphabetically                                | Add product in cart                                                      |\n| ![Cart Icon](/mockups/cart-icon.png)                                                            | ![Checkout page](/mockups/cart-customer-data.png)                                  | ![Auto-filled information](/mockups/customer-autofill.png)               |\n| Once a product is created a floating action will be present on all screens to move for checkout | Checkout page                                                                      | Other details will be auto-filled as soon as you selects a phone number  |\n|                                                                                                 | ![Discount](/mockups/discount.png)                                                 |                                                                          |\n|                                                                                                 | You can either add discount by percentage or a specific amount by clicking on icon |                                                                          |\n\n## Setup\n\nFirst of all you need to setup [Appwrite](https://appwrite.io/docs/installation).\n\nAfter creating a project on Appwrite enable platforms which ever you want to develop for with identifier as `com.darshan.stocker`\n\nCreate collections in database with attributes:\n\n**category:**\n\n- name: string\n- productCount: integer\n- color: integer\n\n**product:**\n\n- categoryId: string\n- name: string\n- costPrice: double\n- sellingPrice: double\n- quantity: double\n- color: integer\n\n**customer:**\n\n- name: string\n- email: email\n- phone: string\n\n**transaction:**\n\n- productId: string\n- productName: string\n- quantity: double\n- sellingPrice: double\n- costPrice: double\n- timestamp: string\n- transactionType: enum(buy, sell)\n- customerId: string\n\nTo update `category.productCount` I have used functions to deploy it\n\nUse [appwrite-cli](https://appwrite.io/docs/command-line)\n\nThe function could be found in `./appwrite-functions` directory\n\nAfter setting up everything on appwrite we should update the secrets\n\nRename `secrets.dart.example` to `secrets.dart` and fill in the empty string.\n\nRun `flutter pub get` to get all the dependencies and finally `flutter run` to run the app\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiruscodes%2Fstocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiruscodes%2Fstocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiruscodes%2Fstocker/lists"}