{"id":13756493,"url":"https://github.com/effector/razzle-template","last_synced_at":"2025-05-10T03:31:57.776Z","repository":{"id":39217035,"uuid":"240738850","full_name":"effector/razzle-template","owner":"effector","description":"SSR template with React, Effector, TypeScript, ReactRouter, and StyledComponents","archived":true,"fork":false,"pushed_at":"2023-01-06T02:34:04.000Z","size":3277,"stargazers_count":64,"open_issues_count":12,"forks_count":4,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-29T18:35:16.635Z","etag":null,"topics":["effector","razzle","react","react-router","styled-components","typescript"],"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/effector.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}},"created_at":"2020-02-15T15:36:46.000Z","updated_at":"2024-07-01T16:42:17.000Z","dependencies_parsed_at":"2023-02-05T03:16:29.679Z","dependency_job_id":null,"html_url":"https://github.com/effector/razzle-template","commit_stats":null,"previous_names":["sergeysova/effector-ssr"],"tags_count":4,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/effector%2Frazzle-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/effector%2Frazzle-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/effector%2Frazzle-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/effector%2Frazzle-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/effector","download_url":"https://codeload.github.com/effector/razzle-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253083105,"owners_count":21851212,"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":["effector","razzle","react","react-router","styled-components","typescript"],"created_at":"2024-08-03T11:00:45.584Z","updated_at":"2025-05-10T03:31:57.748Z","avatar_url":"https://github.com/effector.png","language":"TypeScript","funding_links":[],"categories":["Templates","TypeScript"],"sub_categories":["Form management"],"readme":"# Effector SSR Template\n\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](http://prettier.io) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) [![](https://img.shields.io/badge/feature/slices-1.0-blue)](https://featureslices.dev/v1.0)\n\n\u003e Note: this is template slightly outdated and will be updated as soon as possible.\n\n## How to use\n\n1. Press `Use this template` button.\n\n2. Clone it, install and run:\n\n```bash\nyarn install\nyarn start\n```\n\n- Use `import {} from \"effector-root\"` instead of `\"effector\"`. All units should be created in the root domain.\n- Use `createStart`, `withStart` and `useStart` from `page-routing.ts` for pages start events.\n\n## Structure\n\nhttps://sova.dev/application-structure\n\n- `src/server.tsx` — Express server, that renders React to stream\n- `src/index.tsx` — Node.js entry point, that have hot module replacement and imports server\n- `src/client.tsx` — Browser side entry point, that hydrates stores and react app\n- `src/application.tsx` — Application component, that have global styles and effector provider\n- `src/pages/index.tsx` — Pages component\n- `src/pages/routes.ts` — Static routes config\n- `src/pages/:page-name/index.tsx` — View for single specific page\n- `src/pages/:page-name/model.ts` — Business-logic for specific page, that contains single level logic layer\n- `src/lib` — Internal libraries\n- `src/lib/effector` — START event name to use as page property\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feffector%2Frazzle-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feffector%2Frazzle-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feffector%2Frazzle-template/lists"}