{"id":30713175,"url":"https://github.com/andercm/tod-spa","last_synced_at":"2025-09-03T03:42:31.741Z","repository":{"id":310656842,"uuid":"1040471966","full_name":"anderCM/Tod-spa","owner":"anderCM","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-19T11:58:35.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"development","last_synced_at":"2025-08-19T13:41:03.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/anderCM.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-19T03:18:16.000Z","updated_at":"2025-08-19T11:58:37.000Z","dependencies_parsed_at":"2025-08-19T13:41:09.805Z","dependency_job_id":"b938049c-97e7-42f8-aaab-43aee58b90f3","html_url":"https://github.com/anderCM/Tod-spa","commit_stats":null,"previous_names":["andercm/tod-spa"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/anderCM/Tod-spa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderCM%2FTod-spa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderCM%2FTod-spa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderCM%2FTod-spa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderCM%2FTod-spa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anderCM","download_url":"https://codeload.github.com/anderCM/Tod-spa/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderCM%2FTod-spa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273386850,"owners_count":25096248,"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-03T02:00:09.631Z","response_time":76,"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-09-03T03:42:29.738Z","updated_at":"2025-09-03T03:42:31.721Z","avatar_url":"https://github.com/anderCM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tod\n![Tod spa](https://static.wikia.nocookie.net/lgbt/images/5/53/Todd_Chavez.png/revision/latest?cb=20240325205726\u0026path-prefix=es)\n\nWeb application for managing and reconciling financial transactions, sales, and digital wallets.\n\n## Features\n\n- **Authentication**: Secure login system with session management\n- **Dashboard**: Overview with key metrics and distribution charts\n- **Transactions**: Complete transaction listing with statuses and details\n- **Sales**: Sales management and visualization\n- **Reconciliations**: Creation and tracking of reconciliation processes\n- **Reconciliation Rules**: Rule configuration for process automation\n\n## Tech Stack\n\n- **Frontend**: React 19 + Vite\n- **State Management**: Redux Toolkit\n- **Routing**: React Router DOM\n- **UI Framework**: Bootstrap 5\n- **Charts**: React Chartkick + Chart.js\n- **HTTP Client**: Axios\n- **Alerts**: SweetAlert2\n\n## Prerequisites\n\n- Node.js (v18 or higher)\n- npm or yarn\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/anderCM/Tod-spa.git\ncd vite-project\n```\n\n2. Install dependencies:\n```bash\nnpm install\n# or\nyarn install\n```\n\n3. Configure environment variables (if needed):\n```bash\ncp .env.example .env\n```\n\n## Development\n\nTo run the project in development mode:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\nThe development server will be available at `http://localhost:5173`\n\n## Build\n\nTo build the project for production:\n\n```bash\nnpm run build\n# or\nyarn build\n```\n\nThe compiled files will be generated in the `dist/` directory\n\n## Available Scripts\n\n- `npm run dev` - Start development server\n- `npm run build` - Build application for production\n- `npm run preview` - Preview production build\n- `npm run lint` - Run linter to check code\n\n## API Endpoints\n\nThe system connects to the following endpoints:\n\n- `POST /login` - User authentication\n- `GET /transactions` - Get transactions\n- `GET /sales` - Get sales\n- `GET /wallets` - Get wallets\n- `GET /reconciliations` - Get reconciliations\n- `POST /reconciliations` - Create new reconciliation\n- `GET /reconciliation_rules` - Get reconciliation rules\n\n## Main Features\n\n### Dashboard\n- Key metrics visualization (transactions, sales, total)\n- Pie chart showing operations distribution\n\n### Transactions\n- Paginated listing\n- Status filters (completed, pending, failed)\n- Transaction details\n\n### Sales\n- Sales records with unique numbers\n- Status and total amounts\n- Detailed information per sale\n\n### Reconciliations\n- Creation with date ranges\n- Expandable view with item details\n- Classification: matched, unmatched, disputed\n- Success metrics and amounts\n\n## Security\n\n- Protected routes with authentication verification\n- Secure session management\n- Automatic logout on authorization errors\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandercm%2Ftod-spa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandercm%2Ftod-spa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandercm%2Ftod-spa/lists"}