{"id":24573978,"url":"https://github.com/marcusoftnet/htmx-todo-tutorial","last_synced_at":"2025-03-17T11:26:03.620Z","repository":{"id":272933754,"uuid":"918221550","full_name":"marcusoftnet/htmx-todo-tutorial","owner":"marcusoftnet","description":"Code for some HTMx tutorial blog posts","archived":false,"fork":false,"pushed_at":"2025-01-24T14:44:31.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T15:31:59.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/marcusoftnet.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":"2025-01-17T13:47:08.000Z","updated_at":"2025-01-24T14:44:34.000Z","dependencies_parsed_at":"2025-01-17T14:55:53.207Z","dependency_job_id":"a6d571f7-2833-4522-a9ce-fd3cf03f91c6","html_url":"https://github.com/marcusoftnet/htmx-todo-tutorial","commit_stats":null,"previous_names":["marcusoftnet/htmx-todo-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusoftnet%2Fhtmx-todo-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusoftnet%2Fhtmx-todo-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusoftnet%2Fhtmx-todo-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusoftnet%2Fhtmx-todo-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcusoftnet","download_url":"https://codeload.github.com/marcusoftnet/htmx-todo-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244023295,"owners_count":20385248,"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":"2025-01-23T20:56:19.963Z","updated_at":"2025-03-17T11:26:03.604Z","avatar_url":"https://github.com/marcusoftnet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTMx Todo Tutorial\n\nThis code contains the code for a blog post series I wrote on learning HTMx using Express and Firebase.\n\n1. [Part I - Setting up](https://www.marcusoft.net/2025/01/htmx-todo-tutorial.html)\n1. [Part II - Google Authentication](https://www.marcusoft.net/2025/01/htmx-todo-tutorial-II.html)\n1. [Part III - Building the app](https://www.marcusoft.net/2025/01/htmx-todo-tutorial-III.html)\n1. [Part IV - Advanced updates](https://www.marcusoft.net/2025/01/htmx-todo-tutorial-IV.html)\n1. [Part V - Validation](https://www.marcusoft.net/2025/01/htmx-todo-tutorial-V.html)\n1. [Part VI - Clean up first page load](https://www.marcusoft.net/2025/01/htmx-todo-tutorial-VI.html)\n\n## Tools\n\nTo build this I have used:\n\n* Express\n* Firebase (Authentication and storage)\n* EJS Templates\n* HTMx\n\n## Get this to run\n\n1. Create a [Firebase project](https://console.firebase.google.com/)\n    * Enable authentication - and copy the Google Client Id\n    * Enable Firestore - and copy the configuration\n1. Clone the this repository\n    * `git clone https://github.com/marcusoftnet/htmx-todo-tutorial \u0026\u0026 cd htmx-todo-tutorial`\n1. Install the dependencies\n    * `npm install`\n1. Create an `.env` file in the root of the repository and add the following keys:\n\n    ```text\n    PORT=\u003cYour port number\u003e\n    APP_NAME=\u003cYour application name\u003e\n    GOOGLE_CLIENT_ID=\u003cFrom Firebase\u003e\n    SESSION_SECRET=\u003cA made up secret\u003e\n    FIREBASE_APIKEY=\u003cFrom Firebase\u003e\n    FIREBASE_AUTHDOMAIN=\u003cFrom Firebase\u003e\n    FIREBASE_PROJECTID=\u003cFrom Firebase\u003e\n    FIREBASE_STORAGEBUCKET=\u003cFrom Firebase\u003e\n    FIREBASE_MESSAGINGSENDERID=\u003cFrom Firebase\u003e\n    FIREBASE_APPID=\u003cFrom Firebase\u003e\n    ```\n\n1. Start the application in development mode `npm run dev`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusoftnet%2Fhtmx-todo-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcusoftnet%2Fhtmx-todo-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusoftnet%2Fhtmx-todo-tutorial/lists"}