{"id":15102028,"url":"https://github.com/fastrodev/template","last_synced_at":"2026-02-22T13:44:08.834Z","repository":{"id":219011488,"uuid":"747684220","full_name":"fastrodev/template","owner":"fastrodev","description":"Initial template for fastro project","archived":false,"fork":false,"pushed_at":"2025-03-29T13:25:11.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T14:27:53.503Z","etag":null,"topics":["deno","preact","tailwind"],"latest_commit_sha":null,"homepage":"https://fastro.deno.dev","language":"TypeScript","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/fastrodev.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":"2024-01-24T12:43:55.000Z","updated_at":"2025-03-29T13:25:14.000Z","dependencies_parsed_at":"2024-01-25T00:44:58.541Z","dependency_job_id":"652aa888-bb4b-41d1-967f-b6eac6f5ab11","html_url":"https://github.com/fastrodev/template","commit_stats":null,"previous_names":["fastrodev/template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastrodev%2Ftemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastrodev%2Ftemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastrodev%2Ftemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastrodev%2Ftemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastrodev","download_url":"https://codeload.github.com/fastrodev/template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142524,"owners_count":21054665,"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":["deno","preact","tailwind"],"created_at":"2024-09-25T18:45:06.322Z","updated_at":"2026-02-22T13:44:03.796Z","avatar_url":"https://github.com/fastrodev.png","language":"TypeScript","readme":"---\ntitle: \"Getting started\"\n---\n\nBefore running the application, it is recommended that you use either Linux or\nmacOS. If you are a Windows user, please utilize the Windows Subsystem for Linux\n(WSL) to run Linux.\n\nIt is also recommended that you use Microsoft Visual Studio Code to create and\nupdate all files.\n\n## How to run\n\n```\ndeno task start\n```\n\nDuring the first run, the application will create the `.fastro`, `node_modules`,\nand `static/js` folders. Do not modify these folders, as they are essential for\nthe application's modules to function correctly.\n\n## Application Structure\n\nThis is the application structure generated by `tree -I 'node_modules'` command.\n\nIn this initial setup, the application consists of two modules: `index`, `user`\nand `markdown` modules.\n\n- `index` is for SSR page module.\n- `user` is for API module that provide data.\n- `markdown` is for handling readme file.\n\nYou can modify or add new one as your need.\n\n```\n.\n├── components\n│   ├── footer.tsx\n│   └── header.tsx\n├── deno.json\n├── main.ts\n├── modules\n│   ├── index\n│   │   ├── index.handler.ts\n│   │   ├── index.layout.tsx\n│   │   ├── index.mod.ts\n│   │   ├── index.page.tsx\n│   │   └── index.service.ts\n│   ├── markdown\n│   │   ├── markdown.mod.ts\n│   │   └── readme.layout.tsx\n│   └── user\n│       ├── user.handler.ts\n│       ├── user.mod.ts\n│       ├── user.service.ts\n│       └── user.types.ts\n├── readme.md\n├── static\n│   ├── js\n│   │   └── index.js\n│   └── tailwind.css\n├── tailwind.config.ts\n└── utils\n    └── db.ts\n```\n\n## Files and Folders Descriptions\n\n| Folder / File         | Description                                                                                                                              |\n| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| deno.json             | The deno configuration file. It defines how the application behave and the shortcut of deno task command. For example: `deno task start` |\n| tailwind.config.ts    | The tailwind configuration file. See: https://tailwindcss.com/docs/configuration                                                         |\n| main.ts               | The application entry point. Modify it to add a new module or application-level middleware.                                              |\n| utils/                | The folder that contains all library needed. Put your custom helpers here.                                                               |\n| utils/db.ts           | The files that needed to load Deno.Kv                                                                                                    |\n| modules/              | The application modules. It contains folders of modules.                                                                                 |\n| modules/index/        | The index modules. It contains page, layout, handler and SSR service.                                                                    |\n| modules/user/         | The user modules. It contains user API endpoint and service that connected to Deno.Kv                                                    |\n| modules/markdown/     | The markdown modules. It contains markdown layout and middleware initiation.                                                             |\n| *.mod.ts              | The index file for a module. Modify it to add new endpoints (API), middlewares, or pages                                                 |\n| *.handler.ts          | The handler file for a module. It handles the request from endpoints.                                                                    |\n| *.service.ts          | The service file for a module. It functions is to provide data consumed by the handler.                                                  |\n| *.types.ts            | The types file for a module. Place all types and interfaces here.                                                                        |\n| *.page.tsx            | The page file for a module. Create your new page with this extension.                                                                    |\n| *.layout.tsx          | The layout file for a module. Wrap your page with this layout.                                                                           |\n| components/           | The folder that contains all components                                                                                                  |\n| components/header.tsx | The file for a Header component                                                                                                          |\n| components/footer.tsx | The file for a Footer component                                                                                                          |\n| static/               | The folder that contains all static files needed by html files                                                                           |\n| static/js/index.js    | The SSR JS bundled files generated by fastro framework                                                                                   |\n| static/tailwind.css   | The CSS file that needed by tailwind css                                                                                                 |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastrodev%2Ftemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastrodev%2Ftemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastrodev%2Ftemplate/lists"}