{"id":30105831,"url":"https://github.com/amrbashir/erp-system","last_synced_at":"2026-05-03T01:31:42.273Z","repository":{"id":308735682,"uuid":"985523592","full_name":"amrbashir/erp-system","owner":"amrbashir","description":"Building an ERP system for a local store in public","archived":false,"fork":false,"pushed_at":"2025-08-07T15:51:40.000Z","size":1529,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-07T16:27:49.735Z","etag":null,"topics":["deno","erp","erp-system","postgresql","prisma","react","tanstack-form","tanstack-query","tanstack-router","trpc"],"latest_commit_sha":null,"homepage":"https://erp-system.amrbashir.me","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/amrbashir.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-05-18T00:19:08.000Z","updated_at":"2025-08-07T15:51:44.000Z","dependencies_parsed_at":"2025-08-07T16:38:39.582Z","dependency_job_id":null,"html_url":"https://github.com/amrbashir/erp-system","commit_stats":null,"previous_names":["amrbashir/erp-system"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/amrbashir/erp-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amrbashir%2Ferp-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amrbashir%2Ferp-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amrbashir%2Ferp-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amrbashir%2Ferp-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amrbashir","download_url":"https://codeload.github.com/amrbashir/erp-system/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amrbashir%2Ferp-system/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269657455,"owners_count":24454851,"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-08-09T02:00:10.424Z","response_time":111,"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":["deno","erp","erp-system","postgresql","prisma","react","tanstack-form","tanstack-query","tanstack-router","trpc"],"created_at":"2025-08-10T00:19:46.429Z","updated_at":"2026-05-03T01:31:42.269Z","avatar_url":"https://github.com/amrbashir.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# erp-system\n\nBuilding an ERP system for a local store in public.\n\n## Development\n\n### Prerequisites:\n\n1. [Deno](https://deno.land/manual/getting_started/installation)\n2. [Docker](https://docs.docker.com/get-docker/)\n\n### Setup:\n\n3. Install Deps `deno install`\n4. Start docker compose: `docker compose up -d`\n5. Generate prisma client `deno task -r prisma:generate`\n6. Run database migrations: `deno task -r prisma:migrate:dev`\n\n### Running the Application\n\n```sh\ndeno task dev\n```\n\n### Running Tests\n\n1. Run tests: `deno test`\n2. Run linting: `deno lint`\n\n### Tracing\n\nOpen the Grafana Dashboard on https://localhost:3000, to view the traces.\n\n## Architecture\n\nThe ERP system follows a modern, monorepo-based architecture with clear separation of concerns:\n\n### [Backend](./packages/server/)\n\n- **Framework**: tRPC for type-safe API development.\n- **Database**: PostgreSQL with Prisma ORM for type-safe database access.\n- **Authentication**: Session-based authentication.\n\n### [Frontend](./packages/web)\n\n- **Framework**: React with Vite for fast development and building.\n- **Routing**: TanStack Router for type-safe routing.\n- **State Management**: TanStack Query with tRPC for end-to-end type-safe API communication.\n- **UI Components**: Shadcn/ui and Tailwind CSS.\n- **Internationalization**: i18next for multi-language support (English and Arabic).\n\n### Deployment\n\n- **Backend**: Deployed on [Deno Deploy](https://deno.com/deploy).\n- **Frontend**: Deployed as a SPA and served from same instance as backend on [Deno Deploy](https://deno.com/deploy).\n- **Database**: Managed PostgreSQL on [Neon](https://neon.tech)\n\n## LICENSE\n\n[MIT](./LICENSE) License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famrbashir%2Ferp-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famrbashir%2Ferp-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famrbashir%2Ferp-system/lists"}