{"id":22586035,"url":"https://github.com/code-district-team/create-react-app-template","last_synced_at":"2026-04-11T02:03:16.380Z","repository":{"id":262601680,"uuid":"887757241","full_name":"Code-District-Team/create-react-app-template","owner":"Code-District-Team","description":"React app with Redux, Ant Design, and CRACO. Features offline support, routing, and code splitting. Easily customizable. Ideal for scalable web apps.","archived":false,"fork":false,"pushed_at":"2024-11-25T12:15:43.000Z","size":2229,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-02-02T17:54:47.831Z","etag":null,"topics":["antdesign","craco","createreactapp","frontend","javascript","opensource","reactjs","redux","webapp","webdevelopment"],"latest_commit_sha":null,"homepage":"","language":"HTML","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:27:46.000Z","updated_at":"2024-12-03T08:07:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"e30a6f5a-b668-414f-b1b9-9a279ce8035b","html_url":"https://github.com/Code-District-Team/create-react-app-template","commit_stats":null,"previous_names":["code-district-team/create-react-app-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-District-Team%2Fcreate-react-app-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-District-Team%2Fcreate-react-app-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-District-Team%2Fcreate-react-app-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-District-Team%2Fcreate-react-app-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/create-react-app-template/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246068283,"owners_count":20718503,"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":["antdesign","craco","createreactapp","frontend","javascript","opensource","reactjs","redux","webapp","webdevelopment"],"created_at":"2024-12-08T07:10:37.713Z","updated_at":"2026-04-11T02:03:16.344Z","avatar_url":"https://github.com/Code-District-Team.png","language":"HTML","readme":"# Create React App Boiler Plate\n\nThis project is a React application bootstrapped with [Create React App](https://github.com/facebook/create-react-app), using the [Redux](https://redux.js.org/) and [Redux Toolkit](https://redux-toolkit.js.org/) template. It is designed to provide a robust starting point for building scalable web applications with React and Redux.\n\n## Major Features\n\n- **React and Redux Integration**: Utilizes Redux for state management, with Redux Toolkit for efficient Redux development.\n- **Ant Design**: Incorporates Ant Design components for a modern UI.\n- **Routing**: Implements client-side routing with `react-router-dom`.\n- **Service Worker**: Configured for offline capabilities and faster load times in production.\n- **Code Splitting**: Supports code splitting to optimize bundle size.\n- **Customizable**: Uses CRACO for easy configuration overrides without ejecting from Create React App.\n\n## Folder Structure\n\n- **public/**: Contains static files like `index.html`, `manifest.json`, and icons.\n- **src/**: Main source directory.\n  - **assets/**: Contains fonts and global styles.\n  - **features/**: Contains feature-specific components and styles.\n    - **dashboard/**: Dashboard feature components.\n    - **login/**: Login feature components.\n    - **projects/**: Projects feature components.\n    - **reports/**: Reports feature components.\n  - **layout/**: Layout components for the application.\n  - **models/**: Redux ORM models and related files.\n  - **utilities/**: Utility functions and constants.\n  - **app/**: Main application components and store configuration.\n  - **routes/**: Application routing configuration.\n  - **styles/**: Global styles and theme configurations.\n- **craco.config.js**: Configuration file for CRACO to customize Create React App settings.\n\n## Setup Instructions\n\n### Prerequisites\n\n- **Node.js**: Ensure you have Node.js installed. You can download it from [nodejs.org](https://nodejs.org/).\n- **npm**: Node.js installation includes npm, which is required to install dependencies.\n- **Git**: Ensure you have Git installed. You can download it from [git-scm.com](https://git-scm.com/).\n\n### Installing Git\n\n1. **Download and Install Git**:\n   - Go to [git-scm.com](https://git-scm.com/) and download the installer for your operating system.\n   - Run the installer and follow the setup instructions. Use the default settings unless you have specific requirements.\n\n2. **Verify Git Installation**:\n   - Open your terminal or command prompt and run:\n     ```bash\n     git --version\n     ```\n   - You should see the version number of Git.\n\n3. **Configure Git**:\n   - Set your username and email address. These will be used for your commits.\n     ```bash\n     git config --global user.name \"Your Name\"\n     git config --global user.email \"your-email@example.com\"\n     ```\n\n### Installing Node.js via NVM\n\n1. **Download and Install NVM**:\n   ```bash\n   curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash\n   ```\n   Or using `wget`:\n   ```bash\n   wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash\n   ```\n\n2. **Load NVM**:\n   Add the following lines to your shell's startup file (`~/.bashrc`, `~/.zshrc`, or `~/.profile`):\n   ```bash\n   export NVM_DIR=\"$([ -z \"${XDG_CONFIG_HOME-}\" ] \u0026\u0026 printf %s \"${HOME}/.nvm\" || printf %s \"${XDG_CONFIG_HOME}/nvm\")\"\n   [ -s \"$NVM_DIR/nvm.sh\" ] \u0026\u0026 \\. \"$NVM_DIR/nvm.sh\" # This loads nvm\n   ```\n   Then, apply the changes:\n   ```bash\n   source ~/.bashrc\n   ```\n\n3. **Verify NVM Installation**:\n   ```bash\n   nvm --version\n   ```\n\n4. **Install Node.js**:\n   ```bash\n   nvm install 16.13.1\n   ```\n\n5. **Set Default Node.js Version**:\n   ```bash\n   nvm alias default 16.13.1\n   ```\n\n6. **Verify Node.js Installation**:\n   ```bash\n   node -v\n   ```\n\n### Installation\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/your-username/my-app-redux.git\n   cd my-app-redux\n   ```\n\n2. **Install Dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Start the Development Server**:\n   ```bash\n   npm start\n   ```\n\n   This will run the app in development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n4. **Build for Production**:\n   ```bash\n   npm run build\n   ```\n\n   This will create a production-ready build in the `build` folder.\n\n5. **Run Tests**:\n   ```bash\n   npm test\n   ```\n\n   Launches the test runner in interactive watch mode.\n\n### Running the Production Build Locally\n\nTo run the production build locally, you can use a simple HTTP server. Here are the steps:\n\n1. **Install `serve` globally**:\n   ```bash\n   npm install -g serve\n   ```\n\n2. **Serve the build folder**:\n   ```bash\n   serve -s build\n   ```\n\n   This will start a local server and serve the production build. You can access it at [http://localhost:5000](http://localhost:5000) by default.\n\n### Additional Information\n\n- **CRACO**: This project uses CRACO to override Create React App configurations without ejecting. You can modify the `craco.config.js` file to customize the build and development settings.\n- **Service Worker**: The service worker is configured to be used in production for offline capabilities. You can learn more about service workers in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app).\n\n## Learn More\n\n- [Create React App Documentation](https://facebook.github.io/create-react-app/docs/getting-started)\n- [React Documentation](https://reactjs.org/)\n- [Redux Documentation](https://redux.js.org/)\n- [Ant Design Documentation](https://ant.design/docs/react/introduce)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-district-team%2Fcreate-react-app-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-district-team%2Fcreate-react-app-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-district-team%2Fcreate-react-app-template/lists"}