{"id":29328766,"url":"https://github.com/buttasam/nette-react-template","last_synced_at":"2026-04-07T22:31:57.359Z","repository":{"id":303303099,"uuid":"1015023869","full_name":"buttasam/nette-react-template","owner":"buttasam","description":"A ready-to-use template for building web apps with Nette, React/Typescript, and Tailwind. Just run it with Docker and start coding.","archived":false,"fork":false,"pushed_at":"2025-07-06T21:55:12.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-06T22:35:01.014Z","etag":null,"topics":["docker","nette","react","tailwindcss","typscript","vite"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/buttasam.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-06T21:37:44.000Z","updated_at":"2025-07-06T21:57:45.000Z","dependencies_parsed_at":"2025-07-06T22:35:15.885Z","dependency_job_id":"782f89a8-8fee-40ad-a491-e05870ecedbd","html_url":"https://github.com/buttasam/nette-react-template","commit_stats":null,"previous_names":["buttasam/nette-react-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buttasam/nette-react-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttasam%2Fnette-react-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttasam%2Fnette-react-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttasam%2Fnette-react-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttasam%2Fnette-react-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buttasam","download_url":"https://codeload.github.com/buttasam/nette-react-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buttasam%2Fnette-react-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31532231,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","nette","react","tailwindcss","typscript","vite"],"created_at":"2025-07-07T22:37:05.638Z","updated_at":"2026-04-07T22:31:57.344Z","avatar_url":"https://github.com/buttasam.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nette React Template\n\nThis project is a ready-to-use starter template using the following technologies:\n- Nette + Vite\n- React + TypeScript\n- Tailwind CSS v4\n- MariaDB\n\nIt includes a Docker Compose setup designed for local development.\nYou don’t need to install anything manually — just run a few commands and you’re ready to go.\n\n## 🚀 Quick start\n\n\u003e __Prerequisites:__ Docker + Docker Compose\n\n### Using Docker Compose\n\n1. Start the stack:\n```\ndocker compose up --build -d\n```\n2. Install PHP dependencies and Node modules\n```\ndocker exec nette_react_template_php sh -c \"composer install \u0026\u0026 npm install\"\n```\n3. Launch the Vite dev server (frontend hot‑reload)\n```\ndocker exec -it nette_react_template_php npm run dev\n```\n\n- hit `q` + `enter` to stop dev server\n\n🎉 Application is running on http://localhost:8000/.\n\n\u003e __Note:__ Nette uses the dev server only when debug mode is enabled (no action needed it's default setup)\n\n### 🏗️ Prod build\n\nCompile JS/CSS assets\n```\ndocker exec nette_react_template_php npm run build\n```\n\n## Project structure\n\n```\n├── app/              # application (presenters, templates, components)\n├── assets/           # React, Tailwind CSS, and other styles\n├── bin/              # scripts for command line\n├── config/           # configuration\n├── database/         # database seed script\n├── log/              # logged messages and errors\n├── temp/             # temporary files, cache\n├── tests/            # tests\n├── vendor/           # libraries installed by Composer\n└── www/              # public document root (index.php, built assets)\n```\n\n\u003e __Note:__ docker compose up automatically seeds MariaDB on first run using database/init.sql.\n\n\u003e __Docs:__ See the [official Nette directory structure](https://doc.nette.org/en/application/directory-structure#toc-basic-project-structure) documentation for more details.\n\n## Common Commands\n\n### Stop containers\n```\ndocker compose down\n```\n\n### Format code\n```\ndocker exec nette_react_template_php composer format\n```\n\n### Database access\n```\ndocker exec -it nette_react_template_mysql mysql -uroot -proot\n```\n\nor connect via database viewer (disable SSL)\n\n### Remove docker volume with database data\n```\ndocker volume rm nette-react-template_db_data\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttasam%2Fnette-react-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuttasam%2Fnette-react-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuttasam%2Fnette-react-template/lists"}