{"id":19020397,"url":"https://github.com/kauahensilva/dart_docker_postgres_back_end","last_synced_at":"2026-04-30T08:41:02.452Z","repository":{"id":248601218,"uuid":"828634289","full_name":"KauaHenSilva/dart_docker_postgres_back_end","owner":"KauaHenSilva","description":"This project is a simple application that demonstrates the use of Dart, postgres (DataBase) and Docker. It supports Docker and Docker Compose.","archived":false,"fork":false,"pushed_at":"2024-08-10T18:21:00.000Z","size":66,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T18:24:20.159Z","etag":null,"topics":["dart","docker","docker-compose","postgresql"],"latest_commit_sha":null,"homepage":"","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/KauaHenSilva.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-14T18:22:58.000Z","updated_at":"2025-01-18T20:18:03.000Z","dependencies_parsed_at":"2024-07-28T18:44:38.949Z","dependency_job_id":null,"html_url":"https://github.com/KauaHenSilva/dart_docker_postgres_back_end","commit_stats":null,"previous_names":["kauahensilva/dart_docker_postgres_back_end"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KauaHenSilva/dart_docker_postgres_back_end","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fdart_docker_postgres_back_end","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fdart_docker_postgres_back_end/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fdart_docker_postgres_back_end/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fdart_docker_postgres_back_end/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KauaHenSilva","download_url":"https://codeload.github.com/KauaHenSilva/dart_docker_postgres_back_end/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KauaHenSilva%2Fdart_docker_postgres_back_end/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32459420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","docker","docker-compose","postgresql"],"created_at":"2024-11-08T20:17:02.937Z","updated_at":"2026-04-30T08:41:02.433Z","avatar_url":"https://github.com/KauaHenSilva.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dart_docker_redis_dack_end\n\nThis project is a simple application that demonstrates the use of Dart, postgres (DataBase) and Docker. It supports Docker, Docker Compose, and Docker Swarm.\n\n## ❤️ Contribution\n\nContributions are welcome! To contribute, favorite the project and give your opinion about it!\n\n## 🐬 Improve the Project.\n\nHelp improve the project! Fork it and develop your creativity!\n\n\u003ehttps://github.com/KauaHenSilva/dart_docker_redis_back_end\n\n\n## 📋 Prerequisites (Installation Docker) (Linux)\n\nThe project was developed in the Ubuntu environment, so the commands may vary according to the operating system. The project uses the following dependencies: \n\n### Docker\n  \n  ```bash\n  $ sudo apt-get -y install docker\n  ```\n\n\n## 📋 Prerequisites (Installation Local) (Linux)\n\nThe project was developed in the Ubuntu environment, so the commands may vary according to the operating system. The project uses the following dependencies: \n\n\n### Dart\n  \n  ```bash\n  $ sudo apt-get update \u0026\u0026 sudo apt-get install apt-transport-https\n  $ wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo gpg  --dearmor -o /usr/share/keyrings/dart.gpg\n  $ echo 'deb [signed-by=/usr/share/keyrings/dart.gpg arch=amd64] https://storage.googleapis.com/download.dartlang.org/linux/debian stable main'  | sudo tee /etc/apt/sources.list.d/dart_stable.list\n  $ sudo apt-get -y install dart\n  $ sudo apt-get update \u0026\u0026 sudo apt-get install dart\n\n  ```\n\n# Running the sample\n\n## Running with the Dart SDK\n\nYou can run the example with the [Dart SDK](https://dart.dev/get-dart)\nlike this:\n\n1. **Clone this repository:**\n\n  ```bash\n  $ git clone https://github.com/KauaHenSilva/dart_docker_redis_back_end\n  ```\n\n2. **Navigate to the project directory:**\n\n  ```bash\n  $ cd dart_docker_redis_back_end\n  ```\n\n3. **Run project:**\n\n  ```\n  $ dart run bin/server.dart\n  Server listening on port 8080\n  ```\n\n4. **Test:**\n\n  And then from a second terminal:\n  ```\n  $ curl http://0.0.0.0:8080/clientes\n  []\n  ```\n\nYou should see the logging printed in the first terminal:\n```\n2021-05-06T15:47:08.392928  0:00:00.001216 GET     [200] /clientes\n```\n\n\n## Running with Docker\n\nIf you have [Docker Desktop](https://www.docker.com/get-started) installed, you\ncan build and run with the `docker` command:\n\n1. **Clone this repository:**\n\n  ```bash\n  $ git clone https://github.com/KauaHenSilva/dart_docker_redis_back_end\n  ```\n\n2. **Navigate to the project directory:**\n\n  ```bash\n  $ cd dart_docker_redis_back_end\n  ```\n\n3. **Run project:**\n\n  ```\n  $ docker build . -t myserver\n  $ docker run -it -p 8080:8080 myserver\n  Server listening on port 8080\n  ```\n\n4. **Test:**\n  ```\n  $ curl http://0.0.0.0:8080/clientes\n  []\n  ```\n\nYou should see the logging printed in the first terminal:\n```\n2021-05-06T15:47:08.392928  0:00:00.001216 GET     [200] /clientes\n```\n\n## Running with Docker Compose\n\nIf you have [Docker Desktop](https://www.docker.com/get-started) installed, you\ncan build and run with the `docker` command:\n\n1. **Clone this repository:**\n\n  ```bash\n  $ git clone https://github.com/KauaHenSilva/dart_docker_redis_back_end\n  ```\n\n2. **Navigate to the project directory:**\n  ```bash\n  $ cd dart_docker_redis_back_end\n  ```\n\n3. **Run project:**\n  ```\n  $ docker-compose up\n  Server listening on port 8080\n  ```\n\n4. **Test:**\n  ```\n  $ curl http://0.0.0.0:8080/clientes\n  []\n  ```\n\nYou should see the logging printed in the first terminal:\n```\n2021-05-06T15:47:08.392928  0:00:00.001216 GET     [200] /clientes\n```\n\n## Running with Docker Swarm\n\nIf you have [Docker Desktop](https://www.docker.com/get-started) installed, you\ncan build and run with the `docker` command:\n\n1. **Clone this repository:**\n\n  ```bash\n  $ git clone https://github.com/KauaHenSilva/dart_docker_redis_back_end\n  ```\n\n2. **Navigate to the project directory:**\n\n  ```bash\n  $ cd dart_docker_redis_back_end\n  ```\n\n3. **Run project:**\n  ```\n  $ docker swarm init\n  $ docker stack deploy --compose-file docker-stack.yml \u003cname-project\u003e\n  \n  ```\n4. **Test:**\n  ```\n  $ curl http://0.0.0.0:8080/clientes\n  []\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkauahensilva%2Fdart_docker_postgres_back_end","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkauahensilva%2Fdart_docker_postgres_back_end","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkauahensilva%2Fdart_docker_postgres_back_end/lists"}