{"id":13686976,"url":"https://github.com/juspay/todo-app","last_synced_at":"2025-06-22T16:41:24.013Z","repository":{"id":145090926,"uuid":"612266271","full_name":"juspay/todo-app","owner":"juspay","description":"A demo Haskell app showing the use of Nix with flake-parts to simplify various dev workflows","archived":false,"fork":false,"pushed_at":"2024-10-25T08:56:22.000Z","size":78,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-19T04:41:45.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/juspay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2023-03-10T15:00:31.000Z","updated_at":"2025-04-10T14:38:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"46059dd5-f404-4895-87af-2ef54d82ccac","html_url":"https://github.com/juspay/todo-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"srid/haskell-template","purl":"pkg:github/juspay/todo-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juspay%2Ftodo-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juspay%2Ftodo-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juspay%2Ftodo-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juspay%2Ftodo-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juspay","download_url":"https://codeload.github.com/juspay/todo-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juspay%2Ftodo-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261328239,"owners_count":23142446,"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-08-02T15:00:45.285Z","updated_at":"2025-06-22T16:41:18.996Z","avatar_url":"https://github.com/juspay.png","language":"Haskell","funding_links":[],"categories":["Haskell"],"sub_categories":[],"readme":"# todo-app\n\nA simple TODO app in Haskell using [PostgREST](https://postgrest.org/) as a RESTful API for [PostgreSQL](https://www.postgresql.org/).\n\n\u003e [!NOTE]\n\u003e This app is a demo to showcase how developer experience in a Haskell project can be improved using Nix. We primarily use [haskell-flake], [services-flake] and [flake-parts] to achieve this.\n\n[haskell-flake]: https://community.flake.parts/haskell-flake\n[services-flake]: https://community.flake.parts/services-flake\n[flake-parts]: https://flake.parts\n\n## Tutorial\n\nLearn with [our blog post series](https://nixos.asia/en/nixify-haskell):\n\n- [Introduction](https://nixos.asia/en/nixify-haskell-nixpkgs)\n- [Switch to flake-parts](https://nixos.asia/en/nixify-haskell-parts)\n- [Simplify Nix using haskell-flake](https://nixos.asia/en/nixify-haskell-flake)\n- [Integrate external services using services-flake](https://nixos.asia/en/nixify-services-flake)\n- ...\n\n## Getting Started\n\n[Install Nix](https://nixos.asia/en/install)\n\n## Development\n\n```sh\nnix develop\n```\nTo enter development shell on `cd`, use [direnv](https://nixos.asia/en/direnv)\n\n\u003e [!NOTE]\n\u003e `just services` starts postgres and postgrest, both of which bind to Unix socket.\n\n```sh\njust services\n# Watch for changes in the Haskell code\njust watch\n```\n\n## Run through Nix\n\n\u003e [!NOTE]\n\u003e `todo-app-services-tcp` starts postgres, which listens on Unix socket, while postgrest listens on TCP port 3000.\n\n```sh\nnix run github:juspay/todo-app#todo-app-services-tcp\nnix run github:juspay/todo-app -- view\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuspay%2Ftodo-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuspay%2Ftodo-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuspay%2Ftodo-app/lists"}