{"id":19583573,"url":"https://github.com/moiz-codebyte/to-do-list","last_synced_at":"2025-09-11T05:08:21.352Z","repository":{"id":190966003,"uuid":"683505309","full_name":"Moiz-CodeByte/To-Do-list","owner":"Moiz-CodeByte","description":"A simple to-do list app built with Express.js and EJS, demonstrating basic CRUD operations and dynamic templating. Live Demo","archived":false,"fork":false,"pushed_at":"2024-06-28T07:50:09.000Z","size":1011,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T12:28:31.128Z","etag":null,"topics":["node","todo","todonodeapp"],"latest_commit_sha":null,"homepage":"https://different-valiant-kingfisher.glitch.me/","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/Moiz-CodeByte.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-08-26T19:28:48.000Z","updated_at":"2024-06-28T07:50:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b2876c7-6ec7-4b32-a398-6c02a2a5c339","html_url":"https://github.com/Moiz-CodeByte/To-Do-list","commit_stats":null,"previous_names":["moiz-codebyte/to-do-list"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Moiz-CodeByte/To-Do-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moiz-CodeByte%2FTo-Do-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moiz-CodeByte%2FTo-Do-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moiz-CodeByte%2FTo-Do-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moiz-CodeByte%2FTo-Do-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moiz-CodeByte","download_url":"https://codeload.github.com/Moiz-CodeByte/To-Do-list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moiz-CodeByte%2FTo-Do-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274579724,"owners_count":25310998,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"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":["node","todo","todonodeapp"],"created_at":"2024-11-11T07:43:11.527Z","updated_at":"2025-09-11T05:08:21.329Z","avatar_url":"https://github.com/Moiz-CodeByte.png","language":"JavaScript","readme":"# To-Do List App\n\nThis is a simple to-do list app built with Express.js and EJS.\n\n## Live Demo\n\nCheck out the app live [here](https://different-valiant-kingfisher.glitch.me/).\n\n## Installation\n\n1. Clone the repository.\n2. Install the dependencies.\n\n   ```sh\n   npm install\n   ```\n\n3. Start the server.\n\n   ```sh\n   npm start\n   ```\n\n## Usage\n\nThe app can be accessed at `localhost:3000`.\n\n- **Add a new item:** Enter the item text into the input field and click the \"+\" button.\n- **Mark an item as complete:** Click the checkbox next to the item.\n- **Delete an item:** Click the \"X\" button next to the item.\n\n## Code Explanation\n\nThe app consists of the following files:\n\n- `app.js`: The main Express.js file that sets up the application and defines the routes.\n- `date.js`: A module that provides date formatting functions.\n- `public/css/styles.css`: The CSS file for the app.\n- `views/about.ejs`: The EJS template for the about page.\n- `views/footer.ejs`: The EJS template for the footer.\n- `views/header.ejs`: The EJS template for the header.\n- `views/list.ejs`: The EJS template for the list page.\n\n### Detailed File Descriptions\n\n- **`app.js`**: The main entry point for the app. It sets up the Express.js application and defines the routes.\n- **`date.js`**: Provides date formatting functions. The `getDate()` function returns the current date in a long format, and the `getDay()` function returns the current day of the week.\n- **`public/css/styles.css`**: Contains the CSS for the app.\n- **`views/about.ejs`**: The EJS template for the about page, displaying a simple message about the app.\n- **`views/footer.ejs`**: The EJS template for the footer, displaying a copyright notice.\n- **`views/header.ejs`**: The EJS template for the header, displaying the title of the page.\n- **`views/list.ejs`**: The EJS template for the list page, displaying the list of items and allowing the user to add, mark as complete, and delete items.\n\n## Conclusion\n\nThis is a simple to-do list app that demonstrates how to use Express.js and EJS. It can be used as a starting point for building your own web apps with Node.js and JavaScript.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoiz-codebyte%2Fto-do-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoiz-codebyte%2Fto-do-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoiz-codebyte%2Fto-do-list/lists"}