{"id":14957335,"url":"https://github.com/luffyzh/next-antd-scaffold","last_synced_at":"2025-04-07T09:19:28.935Z","repository":{"id":41371672,"uuid":"146429622","full_name":"luffyZh/next-antd-scaffold","owner":"luffyZh","description":"🏠 A simple scaffold based on Next.js for quick use with ant-design, redux, redux-saga, fetch and pm2. ","archived":false,"fork":false,"pushed_at":"2022-01-03T03:33:56.000Z","size":2457,"stargazers_count":296,"open_issues_count":0,"forks_count":58,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-07T09:19:22.877Z","etag":null,"topics":["ant-design","next","nextjs","react","redux"],"latest_commit_sha":null,"homepage":"https://next-antd-scaffold.luffyzh.now.sh/","language":"JavaScript","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/luffyZh.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}},"created_at":"2018-08-28T10:17:01.000Z","updated_at":"2025-04-05T14:50:45.000Z","dependencies_parsed_at":"2022-07-30T07:38:05.545Z","dependency_job_id":null,"html_url":"https://github.com/luffyZh/next-antd-scaffold","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luffyZh%2Fnext-antd-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luffyZh%2Fnext-antd-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luffyZh%2Fnext-antd-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luffyZh%2Fnext-antd-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luffyZh","download_url":"https://codeload.github.com/luffyZh/next-antd-scaffold/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247622983,"owners_count":20968575,"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":["ant-design","next","nextjs","react","redux"],"created_at":"2024-09-24T13:14:43.975Z","updated_at":"2025-04-07T09:19:28.916Z","avatar_url":"https://github.com/luffyZh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](./next-antd-scaffold.jpg)\nA simple scaffold based on Next.js for quick use with ant-design, redux, redux-saga, fetch and pm2.\n\nEnglish | [简体中文](./README_zh_CN.md)\n\n[![build-passing](https://img.shields.io/badge/build-passing-brightgreen)](https://next-antd-scaffold.luffyzh.now.sh/)\n![MIT License](https://img.shields.io/badge/license-MIT-blue)\n[![Made By Vercel](https://camo.githubusercontent.com/0c94840282c8835b189cd4e739e96a2f5cb25795c1d3f1e797134d9455124f46/68747470733a2f2f62616467656e2e6e65742f62616467652f69636f6e2f4d616465253230627925323056657263656c3f69636f6e3d7a656974266c6162656c26636f6c6f723d626c61636b266c6162656c436f6c6f723d626c61636b)](https://next-antd-scaffold.luffyzh.now.sh/)\n[![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/zeit)\n\n## 🏠 HomePage\n\n[Next-Antd-Scaffold-Demo](https://next-antd-scaffold.luffyzh.now.sh/)\n\n\u003e If you like use the next version is lower version 11. Please check more version from there [🌲 Versions History](https://github.com/luffyZh/next-antd-scaffold/releases).\n\n## 🌍 Browser Support\n\n| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) |\n| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |\n| Chrome 39.0+ ✔                                                                           | Edge 12.0+ ✔                                                                       | Firefox 30.0+ ✔                                                                             | IE 11+ ✔                                                                                                                     | Safari 9.1+ ✔                                                                            |\n\n## 📁 Directory\n\n```\n——————\n  | -- assets                    // ant-design global less var\n  | -- docs                      // documents directory\n  | -- public                    // static files directory\n      | -- static                // compatible with \u003c version 9.0\n      | -- favicon.ico           // some files examples like seo files\n      | -- ...\n  | -- src                       // source directory\n      | -- components            // React UI component\n      | -- constants             // constant directory\n          | -- ActionsTypes.js   // save all action type\n          | -- ApiUrlForBE.js    // save all apiUrl\n          | -- ...\n      | -- core                  // mehtod dirctory\n          | -- util.js           // project method\n          | -- nextFetch.js      // packing unfetch for easy use\n      | -- middlewares           // middlewares\n          | -- client            // client middlewares, deal redux action\n          | -- server            // server middlewares, deal node event\n      | -- pages                 // Next.js routes\n      | -- redux                 // redux directory\n          | -- actions           // deal all project actions\n          | -- reducers          // deal all project reducers\n          | -- sagas             // sace all project sagas\n          | -- store.js          // the store of project\n  | -- .babelrc              // babel config file\n  | -- .eslintrc             // eslint config file\n  | -- .gitignore\n  | -- next.config.js        // Next.js config file\n  | -- package.json\n  | -- server.js             // server file\n  | -- pm2.config.js         // pm2 deploy config file\n  | ...                      // other files\n```\n\n## 📖 Usage\n\n#### development\n\n```\n 1. git clone https://github.com/luffyZh/next-antd-scafflod.git\n 2. yarn install\n 3. yarn start\n```\n\n\u003e The application is ready on http://localhost:3006\n\n#### production\n\n```\n 1. yarn build\n 2. yarn prod\n```\n\n\u003e The application is ready on http://localhost:5999\n\n## ✨ Features\n\n- React\n- Next.js\n- Redux\n- Redux-Saga\n- Ant-Design\n- Fetch\n\n## 🔨 How to depoly application by pm2\n\n```bash\n# 1. install pm2\n$ npm install -g pm2\n\n# 2. build project\n$ yarn build\n\n# 3. pm2 deploy project\n$ pm2 start pm2.config.js\n```\n\n## 🪂 Deploy By now\n\n\u003ca target='__blank' href='https://zeit.co/now'\u003e\u003cimg src='https://avatars3.githubusercontent.com/in/8329?s=60\u0026u=35934eb25f938206da3c68530ac900e2717abbc3\u0026v=4' /\u003e\u003c/a\u003e\n\n## 🌲 Versions History\n\n### [next_version_11](https://github.com/luffyZh/next-antd-scaffold/releases/tag/v1.4)\n\n- webpack 5\n\n### [next_version_10](https://github.com/luffyZh/next-antd-scaffold/releases/tag/v1.3)\n\n- All hooks API (Component/Redux)\n\n### [next_verion_9.3.5](https://github.com/luffyZh/next-antd-scaffold/releases/tag/v1.1)\n\n### [next_verion_8.1.0](https://github.com/luffyZh/next-antd-scaffold/releases/tag/v1.0)\n\n## 💐 More Demo\n\n- Full Stack Demo —— [Branch_backend](https://github.com/luffyZh/next-antd-scaffold/tree/backend)\n- Auth \u0026\u0026 Verify Demo —— [Branch_auth](https://github.com/luffyZh/next-antd-scaffold/tree/auth)\n- Server Error Demo —— [Branch_server-error](https://github.com/luffyZh/next-antd-scaffold/tree/server-error)\n\n## 🤔️ More Questions\n\n- How to listen for routing changes?\n\n- The solution of `min-css-extract-plugin` warning in the console!\n\n- How to polyfill IE10/IE9 in this scaffold?\n\n- The ant-design style flash when page refresh!\n\n- The solution of `ant-design` in the development environment style load is incomplete.\n\n- How to speed up packing in production?\n\n...\n\nPlease check the [Faq documentation](./docs/FAQ.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluffyzh%2Fnext-antd-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluffyzh%2Fnext-antd-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluffyzh%2Fnext-antd-scaffold/lists"}