{"id":22394991,"url":"https://github.com/atlinx/toasttask","last_synced_at":"2025-03-26T22:43:23.647Z","repository":{"id":181319173,"uuid":"665931512","full_name":"Atlinx/ToastTask","owner":"Atlinx","description":"Todo application in Vue, TailwindCSS, Rust, and PostgreSQL 🍞","archived":false,"fork":false,"pushed_at":"2023-07-26T02:04:40.000Z","size":2394,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T04:27:49.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Atlinx.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-13T10:15:18.000Z","updated_at":"2024-10-01T12:06:00.000Z","dependencies_parsed_at":"2024-12-05T05:13:05.410Z","dependency_job_id":"f0128c86-dcc6-4e85-a087-353dae057cb1","html_url":"https://github.com/Atlinx/ToastTask","commit_stats":null,"previous_names":["atlinx/toasttask"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atlinx%2FToastTask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atlinx%2FToastTask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atlinx%2FToastTask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atlinx%2FToastTask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atlinx","download_url":"https://codeload.github.com/Atlinx/ToastTask/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749800,"owners_count":20666084,"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-12-05T05:12:53.970Z","updated_at":"2025-03-26T22:43:23.620Z","avatar_url":"https://github.com/Atlinx.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Banner](web/public/banner.png)\n\n# Toast Task 🍞\n\nTodo/task tracking webapp build in Vue with a backend in Rust using a Postgres DB.\n\n## General\n\n### Building\n\n\u003e **NOTE:**\n\u003e \n\u003e Make sure to develop in WSL, Linux, or MacOS. `cargo watch` seems to not work when running on a Windows machine,\n\u003e which makes development painfully slow because the docker container must be rebuilt every time to view new changes.\n\n1) Make a copy of the `.env.template` file and replace items with `\u003cangle-brackets\u003e` with actual data.\n\n2) Run the command:\n   \n    ```bash\n    ./run_dev.sh\n    ```\n\n\u003e **NOTE:**\n\u003e \n\u003e If docker gives you `error getting credentials` errors whenever\n\u003e you build on WSL, please run:\n\u003e \n\u003e ```bash\n\u003e rm ~/.docker/config.json\n\u003e ```\n\n### Cleanup\n\nRun the command:\n\n```bash\ndocker-compose down -v\n```\n\n## Backend\n\n### SQLX\n\nMake sure you have `sqlx-cli v0.6.3` installed! The newer versions don't work since `rocket` depends on `sqlx v0.6`.\n\n## Testing \n\nInside the `backend` folder, run one of the following commands:\n\n```bash\n./scripts/run_tests.sh\n./scripts/watch_tests.sh\n```\n\n## Resources\n\n- [Accessing Postgresql Database](https://www.cherryservers.com/blog/how-to-install-and-setup-postgresql-server-on-ubuntu-20-04)\n  - Logging into Postgres \n    \n    ```bash\n    sudo -u postgres psql\n    ```\n\n  - Commands\n  \n    - `\\q` - Quit\n    - `\\l` - List databases\n    - `\\c {database}` - Connect to `{database}`\n    - `\\dt` - Lists tables\n    \n  - Configuration file is stored at\n\n    ```\n    /etc/postgresql/12/main/postgresql.conf\n    ```\n\n    \u003e **NOTE:**\n    \u003e\n    \u003e Use an alternative port to `5432` on windows,\n    \u003e because you might already have a Windows Postgres DB\n    \u003e taking up that port.\n\n    \u003e **NOTE:**\n    \u003e \n    \u003e Add `listen_addresses = '*'` to your `postgresql.conf`\n    \u003e file to ensure you can connect from windows","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatlinx%2Ftoasttask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatlinx%2Ftoasttask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatlinx%2Ftoasttask/lists"}