{"id":20748524,"url":"https://github.com/fastrodev/replix","last_synced_at":"2025-09-05T02:14:47.958Z","repository":{"id":236867136,"uuid":"793312964","full_name":"fastrodev/replix","owner":"fastrodev","description":"A free social Q\u0026A platform designed to address the lack of accessible health information","archived":false,"fork":false,"pushed_at":"2024-06-01T23:36:14.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T03:12:51.387Z","etag":null,"topics":["app","deno","preact","typescript"],"latest_commit_sha":null,"homepage":"https://replix.deno.dev","language":null,"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-04-29T01:21:55.000Z","updated_at":"2024-06-14T01:29:52.000Z","dependencies_parsed_at":"2024-04-29T02:47:40.059Z","dependency_job_id":null,"html_url":"https://github.com/fastrodev/replix","commit_stats":null,"previous_names":["fastrodev/replix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastrodev%2Freplix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastrodev%2Freplix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastrodev%2Freplix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastrodev%2Freplix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastrodev","download_url":"https://codeload.github.com/fastrodev/replix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243047471,"owners_count":20227589,"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":["app","deno","preact","typescript"],"created_at":"2024-11-17T08:17:13.496Z","updated_at":"2025-03-11T13:46:27.250Z","avatar_url":"https://github.com/fastrodev.png","language":null,"readme":"# Replix\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%2Freplix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastrodev%2Freplix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastrodev%2Freplix/lists"}