{"id":31322789,"url":"https://github.com/europanite/standard_react_fastapi_environment","last_synced_at":"2026-04-04T08:39:16.270Z","repository":{"id":313131133,"uuid":"1049808648","full_name":"europanite/standard_react_fastapi_environment","owner":"europanite","description":"A standard React FastAPI environment","archived":false,"fork":false,"pushed_at":"2025-09-18T23:04:04.000Z","size":464,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-19T00:32:48.707Z","etag":null,"topics":["android","docker","docker-compose","expo","expo-go","fastapi","ios","postgres","react","react-native","typescript","web"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/europanite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-03T14:22:36.000Z","updated_at":"2025-09-16T00:41:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"25536f2e-d539-43d2-9420-a1cadecd374c","html_url":"https://github.com/europanite/standard_react_fastapi_environment","commit_stats":null,"previous_names":["europanite/standard_react_fastapi_environment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/europanite/standard_react_fastapi_environment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europanite%2Fstandard_react_fastapi_environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europanite%2Fstandard_react_fastapi_environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europanite%2Fstandard_react_fastapi_environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europanite%2Fstandard_react_fastapi_environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/europanite","download_url":"https://codeload.github.com/europanite/standard_react_fastapi_environment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europanite%2Fstandard_react_fastapi_environment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276966737,"owners_count":25736855,"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-25T02:00:09.612Z","response_time":80,"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":["android","docker","docker-compose","expo","expo-go","fastapi","ios","postgres","react","react-native","typescript","web"],"created_at":"2025-09-25T19:14:38.266Z","updated_at":"2025-12-30T19:49:46.775Z","avatar_url":"https://github.com/europanite.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Standard React FastAPI Environment](https://github.com/europanite/standard_react_fastapi_environment \"Standard React FastAPI Environment\")\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n![OS](https://img.shields.io/badge/OS-Linux%20%7C%20macOS%20%7C%20Windows-blue)\n[![Python](https://img.shields.io/badge/python-3.9|%203.10%20|%203.11|%203.12|%203.13-blue)](https://www.python.org/)\n[![CI](https://github.com/europanite/standard_react_fastapi_environment/actions/workflows/ci.yml/badge.svg)](https://github.com/europanite/standard_react_fastapi_environment/actions/workflows/ci.yml)\n[![Python Lint](https://github.com/europanite/standard_react_fastapi_environment/actions/workflows/lint.yml/badge.svg)](https://github.com/europanite/standard_react_fastapi_environment/actions/workflows/lint.yml)\n[![pages-build-deployment](https://github.com/europanite/standard_react_fastapi_environment/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/europanite/standard_react_fastapi_environment/actions/workflows/pages/pages-build-deployment)\n[![CodeQL Advanced](https://github.com/europanite/standard_react_fastapi_environment/actions/workflows/codeql.yml/badge.svg)](https://github.com/europanite/standard_react_fastapi_environment/actions/workflows/codeql.yml)\n\n![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54)\n![Pytest](https://img.shields.io/badge/pytest-%23ffffff.svg?style=for-the-badge\u0026logo=pytest\u0026logoColor=2f9fe3)\n![FastAPI](https://img.shields.io/badge/FastAPI-005571?style=for-the-badge\u0026logo=fastapi)\n![React Native](https://img.shields.io/badge/react_native-%2320232a.svg?style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB)\n![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge\u0026logo=typescript\u0026logoColor=white)\n![Jest](https://img.shields.io/badge/-jest-%23C21325?style=for-the-badge\u0026logo=jest\u0026logoColor=white)\n![Expo](https://img.shields.io/badge/expo-1C1E24?style=for-the-badge\u0026logo=expo\u0026logoColor=#D04A37)\n\n\n![\"web_ui\"](./assets/images/web_ui.png)\n\n**full-stack development environment** using:\n\n- **Frontend**: [Expo](https://expo.dev/) ([React Native](https://reactnative.dev/) + [TypeScript](https://www.typescriptlang.org/))  \n  - Runs on **Web, Android, and iOS** with a single codebase\n- **Backend**: [FastAPI](https://fastapi.tiangolo.com/) (Python)  \n- **Database**: [PostgreSQL](https://www.postgresql.org/)\n- **Container**: [Docker Compose](https://docs.docker.com/compose/) for consistent development setup\n\n---\n\n## Features\n\n- **Cross-platform frontend** with Expo  \n  - Runs as a **web app** or on **Android/iOS devices** via Expo Go or standalone builds\n- **CRUD operations** : Create, Read, Update, Delete records\n- **Auth operations** : Signup, Signin, Signout\n- **FastAPI backend** with automatic docs\n  - REST API with Swagger UI (/docs)\n\n---\n\n## 🚀 Getting Started\n\n### 1. Prerequisites\n- [Docker Compose](https://docs.docker.com/compose/)\n- [Expo Go](https://expo.dev/go) (for Android/iOS testing)\n\n### 2. Build and start all services:\n\n```bash\n# set environment variables:\nexport REACT_NATIVE_PACKAGER_HOSTNAME=${YOUR_HOST}\n\n# Build the image\ndocker compose build\n\n# Run the container\ndocker compose up\n```\n\n---\n\n### 3. Test:\n\n```bash\n# Backend pytest\ndocker compose \\\n  -f docker-compose.test.yml run \\\n  --rm \\\n  --entrypoint /bin/sh backend_test \\\n  -lc ' pytest -q '\n\n# Backend Lint\ndocker compose \\\n  -f docker-compose.test.yml run \\\n  --rm \\\n  --entrypoint /bin/sh backend_test \\\n  -lc 'ruff check /app /tests'\n\n# Frontend Test\ndocker compose \\\n  -f docker-compose.test.yml run \\\n  --rm frontend_test\n```\n\n---\n\n### 4. Visit the services:\n\n- Backend API: http://localhost:8000/docs\n![\"backend\"](./assets/images/backend.png)\n\n- Frontend UI (WEB): http://localhost:8081\n- Frontend UI (mobile): exp://${YOUR_HOST}:8081: access it with the QR provided by Expo.\n![\"expo\"](./assets/images/expo.png)\n\n---\n\n# License\n- Apache License 2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuropanite%2Fstandard_react_fastapi_environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuropanite%2Fstandard_react_fastapi_environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuropanite%2Fstandard_react_fastapi_environment/lists"}