{"id":21818577,"url":"https://github.com/code-district-team/react-vite-template","last_synced_at":"2026-04-09T13:48:16.017Z","repository":{"id":262601685,"uuid":"887760992","full_name":"Code-District-Team/react-vite-template","owner":"Code-District-Team","description":"Enterprise-ready React + Vite template with AG Grid, Ant Design, Stripe, and Storybook. Features authentication, data grids, file ops, and payment processing.","archived":false,"fork":false,"pushed_at":"2024-11-25T11:29:45.000Z","size":28052,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-01-26T07:08:28.139Z","etag":null,"topics":["ag-grid","antd","authentication","boilerplate","csv-import-export","docker","eslint","husky","prettier","react","redux-toolkit","sass","server-side-filtering","storybook","stripe-integration","template","typescript","vite"],"latest_commit_sha":null,"homepage":"","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/Code-District-Team.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}},"created_at":"2024-11-13T08:36:39.000Z","updated_at":"2024-12-03T08:07:41.000Z","dependencies_parsed_at":"2024-11-13T10:30:49.795Z","dependency_job_id":null,"html_url":"https://github.com/Code-District-Team/react-vite-template","commit_stats":null,"previous_names":["code-district-team/react-vite-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-District-Team%2Freact-vite-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-District-Team%2Freact-vite-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-District-Team%2Freact-vite-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-District-Team%2Freact-vite-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-District-Team","download_url":"https://codeload.github.com/Code-District-Team/react-vite-template/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244777134,"owners_count":20508647,"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","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":["ag-grid","antd","authentication","boilerplate","csv-import-export","docker","eslint","husky","prettier","react","redux-toolkit","sass","server-side-filtering","storybook","stripe-integration","template","typescript","vite"],"created_at":"2024-11-27T16:13:25.963Z","updated_at":"2025-10-27T09:40:02.863Z","avatar_url":"https://github.com/Code-District-Team.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Vite Enterprise Template\n\nA comprehensive enterprise-ready React template built with Vite, featuring advanced data handling, authentication, payment processing, and more.\n\n## Features\n\n- **Data Grid Systems**\n  - Server-side filtering/sorting with AG Grid and Ant Design\n  - Advanced filtering (text, number, date)\n  - Pagination and infinite scrolling\n  - Debounced search\n\n- **CRUD Operations**\n  - Complete product management\n  - Modal-based forms\n  - Server-side validation\n\n- **File Operations**\n  - CSV import/export\n  - Drag-and-drop file upload\n  - File validation\n\n- **Authentication \u0026 Authorization**\n  - Login system\n  - Role-based access control\n  - Permission management\n\n- **Payment Integration**\n  - Stripe payment processing\n  - Saved cards support\n  - 3D Secure integration\n\n- **Documentation**\n  - Comprehensive Storybook docs\n  - API documentation\n  - Usage examples\n\n## Tech Stack\n\n- React 18\n- Vite\n- Redux Toolkit\n- Ant Design\n- AG Grid Enterprise\n- Stripe\n- Storybook\n- SASS/SCSS\n- ESLint \u0026 Prettier\n- Husky\n\n## Prerequisites\n\nBefore setting up the project, ensure you have the following installed:\n\n1. **Node.js** (v18 or higher)\n   ```bash\n   # Check Node.js version\n   node --version\n   \n   # If needed, install Node.js from\n   https://nodejs.org/\n   ```\n\n2. **Yarn** (v4.3.0)\n   ```bash\n   # Install Yarn\n   npm install -g yarn\n   \n   # Set Yarn version\n   yarn set version 4.3.0\n   ```\n\n3. **Git**\n   ```bash\n   # Check Git version\n   git --version\n   \n   # If needed, install Git from\n   https://git-scm.com/downloads\n   ```\n\n## Setup Guide\n\n1. **Clone the Repository**\n   ```bash\n   git clone https://usama_codedistrict@bitbucket.org/codedistrict/react-vite-template.git\n   cd react-vite-template\n   ```\n\n2. **Install Dependencies**\n   ```bash\n   yarn install\n   # OR\n   pnpm install\n   ```\n\n3. **Environment Setup**\n   ```bash\n   # Copy example env file\n   cp .env.example .env\n   \n   # Update environment variables in .env file\n   ```\n\n4. **Start Development Server**\n   ```bash\n   yarn dev\n   # OR\n   pnpm dev\n   ```\n   The development server will start at `http://localhost:8000`\n\n## Available Scripts\n\n- **Development**\n  ```bash\n  yarn dev          # Start development server\n  ```\n\n- **Production Build**\n  ```bash\n  yarn build        # Build for production\n  yarn build:qa     # Build for QA environment\n  yarn build:uat    # Build for UAT environment\n  ```\n\n- **Code Quality**\n  ```bash\n  yarn lint         # Run ESLint\n  yarn prettify     # Run Prettier\n  ```\n\n- **Documentation**\n  ```bash\n  yarn storybook    # Start Storybook documentation\n  ```\n\n## Environment Configuration\n\nFor environment-specific configurations, create the following files:\n- `.env.development` - Development environment\n- `.env.qa` - QA environment\n- `.env.uat` - UAT environment\n- `.env.production` - Production environment\n\n## Production Deployment\n\n1. **Build the Application**\n   ```bash\n   yarn build\n   ```\n   This will generate optimized production files in the `dist` folder.\n\n2. **Preview Production Build**\n   ```bash\n   yarn preview\n   ```\n\n## Docker Support\n\n1. **Build Docker Image**\n   ```bash\n   docker build -t react-vite-template .\n   ```\n\n2. **Run Docker Container**\n   ```bash\n   docker run -p 8000:8000 react-vite-template\n   ```\n\n## Documentation\n\n- View component documentation by running Storybook:\n  ```bash\n  yarn storybook\n  ```\n  Access Storybook at `http://localhost:6006`\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## Learn More\n\n- [Vite Documentation](https://vitejs.dev/guide/)\n- [React Documentation](https://react.dev/learn)\n- [Ant Design Documentation](https://ant.design/docs/react/introduce)\n- [AG Grid Documentation](https://www.ag-grid.com/react-data-grid/)\n- [Stripe Documentation](https://stripe.com/docs/stripe-js/react)\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-district-team%2Freact-vite-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-district-team%2Freact-vite-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-district-team%2Freact-vite-template/lists"}