{"id":27786293,"url":"https://github.com/clever/template-frontend","last_synced_at":"2025-09-11T22:31:57.700Z","repository":{"id":18880278,"uuid":"76690618","full_name":"Clever/template-frontend","owner":"Clever","description":"Template repo that has all the necessary files for frontend apps at Clever","archived":false,"fork":false,"pushed_at":"2025-07-25T05:24:39.000Z","size":960,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-07-26T16:45:47.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Clever.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-12-16T22:45:03.000Z","updated_at":"2025-04-22T19:38:31.000Z","dependencies_parsed_at":"2024-09-13T08:24:44.580Z","dependency_job_id":"cff1691b-5a12-4d0b-8228-e8434e9278b0","html_url":"https://github.com/Clever/template-frontend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Clever/template-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Ftemplate-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Ftemplate-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Ftemplate-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Ftemplate-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clever","download_url":"https://codeload.github.com/Clever/template-frontend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clever%2Ftemplate-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274717665,"owners_count":25336947,"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":[],"created_at":"2025-04-30T15:59:10.795Z","updated_at":"2025-09-11T22:31:57.673Z","avatar_url":"https://github.com/Clever.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# {{.AppName}}\n\n{{.Description}}\n\nOwned by {{.TeamName}}\n\n## Development\n\n```\ncd {{.AppName}}\nnpm install\nark start {{.AppName}} -e clever-dev -l\n```\n\nIf you're in the `{{.AppName}}` directory, and you've set your default ark env to `clever-dev`, the ark command simplifies down to:\n\n```\nark start -l\n```\n\nYou can access the locally running server at `http://localhost:5020`.\n\nSome other useful Makefile commands include:\n\n- `make format`\n- `make lint`\n- `make test`\n\n## Directory structure\n\n```\nsrc\n├── server\n│   ├── api\n│   ├── app\n│   ├── auth\n│   ├── config.ts\n│   ├── index.ts\n│   ├── lib\n│   ├── middleware\n│   └── pages\n├── shared\n|   ├── constants\n│   └── models\n└── ui\n    ├── app\n    ├── components\n    ├── lib\n    ├── pages\n    └── store\n```\n\nBelow is a summary of what each directory contains.\n\n### Server\n\n`src/server/api`: API endpoints\n\n`src/server/auth`: Authentication endpoints\n\n`src/server/pages`: Page-serving endpoints and base views\n\n`src/server/lib`: Frontend server libs for shared logic as well as a `Clients` class for easy access to those libs and backend WAG clients\n\n`src/server/middleware`: Middlewares\n\n`src/server/app`: The Express app. Wires the server together.\n\n`src/server/app/errors`: Typed errors for use throughout the server\n\n### Client\n\n`src/ui/pages`: UI pages\n\n`src/ui/components`: Shared UI components\n\n`src/ui/lib`: Shared UI logic, i.e. all shared UI code that isn't a React component\n\n`src/ui/store`: The Redux store, where each Redux collection has its own file. Note: We've begun experimenting with alternatives to Redux, e.g. we're using the Apollo GraphQL libraries in https://github.com/Clever/family-portal.\n\n`src/ui/app`: The top-level client-side app. Wires the client together.\n\n`src/ui/app/errors`: Client-side error handling utilities\n\n### Shared\n\n`src/shared`: Code to be shared across the server and client, e.g. data models, constants\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclever%2Ftemplate-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclever%2Ftemplate-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclever%2Ftemplate-frontend/lists"}