{"id":15395999,"url":"https://github.com/fr0st1n/mydailies","last_synced_at":"2025-04-16T00:16:53.870Z","repository":{"id":85520414,"uuid":"555210399","full_name":"FR0ST1N/MyDailies","owner":"FR0ST1N","description":"A simple, open-source and self-hosted habit tracker app.","archived":false,"fork":false,"pushed_at":"2024-11-24T13:27:48.000Z","size":819,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T00:16:35.430Z","etag":null,"topics":["docker","golang","react","rest-api","self-hosted","typescript","webapp"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/FR0ST1N.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-10-21T06:26:45.000Z","updated_at":"2025-02-02T14:43:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"ebaa8e6d-e0f5-48ec-b1c8-a086df333401","html_url":"https://github.com/FR0ST1N/MyDailies","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FR0ST1N%2FMyDailies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FR0ST1N%2FMyDailies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FR0ST1N%2FMyDailies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FR0ST1N%2FMyDailies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FR0ST1N","download_url":"https://codeload.github.com/FR0ST1N/MyDailies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173096,"owners_count":21224485,"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":["docker","golang","react","rest-api","self-hosted","typescript","webapp"],"created_at":"2024-10-01T15:30:19.056Z","updated_at":"2025-04-16T00:16:53.851Z","avatar_url":"https://github.com/FR0ST1N.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyDailies\n\nA simple, open-source and self-hosted habit tracker app.\n\n![Banner](banner.png)\n\n[Click here for screenshots.](screenshots)\n\n## Features\n\n- Simple UI 👌\n- Dark mode 🌕\n- Easy deployment with [Docker][1]. 🐋\n\n## Deployment\n\n\u003e Make sure you have [Docker][1] and [Docker Compose][2] installed.\n\n1. Clone the repo.\n```bash\ngit clone https://github.com/FR0ST1N/MyDailies.git\n```\n2. Go to project root.\n```bash\ncd MyDailies\n```\n3. Set `JWT_SECRET_KEY` environment variable in the api [Dockerfile](Dockerfile).\n4. Run docker compose.\n```bash\ndocker compose up\n```\n5. Create the first user (this user will be an admin and can add more users from the users page accessed from the menu).\n```bash\ncurl -X POST http://localhost:8080/api/user/setup-admin \\\n-H 'Content-Type: application/json' \\\n-d '{\"email\": \"email@example.com\", \"password\": \"password\", \"name\": \"Your Name\", \"timezone\": \"TZ database name\"}'\n```\n\n[List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)\n\n## Development\n\n### Start server\n\n#### API Server\n\nMake sure you have air installed. If not, install it from [here](https://github.com/air-verse/air).\n\n- Start API server with `air`\n\n#### Web Server\n\nCD into the web directory and run the following commands.\n\n- Install dependencies `npm ci`\n- Start the server `npm start`\n\n### Run tests\n\n- API unit test can be run using `go test ./...`\n\n### Code Formatting\n\n- API `gofmt -w -s .`\n- Web `npm run format`\n\n## License\n\n- [MIT](LICENSE)\n\n[1]: https://www.docker.com/\n[2]: https://docs.docker.com/compose/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffr0st1n%2Fmydailies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffr0st1n%2Fmydailies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffr0st1n%2Fmydailies/lists"}