Skip to content
ุงู„ู…ุดุงุฑูŠุน

ุญูˆู„

Next.js + Redux + styled-components + Express = ๐Ÿ˜‡

ุชุทูˆูŠุฑ ุงู„ูˆูŠุจ ูˆุงู„ุชุทุจูŠู‚ุงุช

ูƒูŠู ุชูู‚ุงุณ ู‡ุฐู‡ ุงู„ุฃุฑู‚ุงู…

ู…ุง ูŠู…ูƒู†ูƒ ูุนู„ู‡

  • โ–ฒ Based on latest Next.js
  • ๐Ÿ—„ State management with redux-toolkit
  • ๐Ÿ’… Styling with styled-components
  • ๐Ÿ Unit testing with react-testing-library

ุงู„ู†ู…ูˆ ุงู„ู…ู‚ุงุณ ู„ู„ู†ุฌูˆู…

ุฎู„ุงู„ 24 ุณุงุนุฉ
ู 
ุฎู„ุงู„ 7 ุฃูŠุงู…
ู 
ุฎู„ุงู„ 15 ูŠูˆู…ู‹ุง
ู 
ุฎู„ุงู„ ุดู‡ุฑ
ุฌุงุฑู ุฌู…ุน ุงู„ุณุฌู„

ุชุบูŠู‘ุฑ ุตุงููŠ ุงู„ู†ุฌูˆู… ุฎู„ุงู„ ูุชุฑุงุช ู…ุชุฏุงุฎู„ุฉุŒ ูˆู„ูŠุณ ู…ุฌู…ูˆุนู‹ุง ูŠูˆู…ูŠู‹ุง. ุชุจู‚ู‰ ุงู„ู‚ูŠุงุณุงุช ุงู„ู…ูู‚ูˆุฏุฉ ูุงุฑุบุฉ. ุงู„ู†ุฌูˆู… ุชู‚ูŠุณ ุงู„ุงู‡ุชู…ุงู… ู„ุง ุฌูˆุฏุฉ ุงู„ุจุฑู…ุฌูŠุงุช.

Next.js redux starter

An opinionated Next.js starter kit with Express, Redux Toolkit, styled-components, and react-testing-library.

Build Status JavaScript Style Guide Greenkeeper badge

About

Next.js is an awesome and minimalistic framework to make a modern universal react app. However, there're times that we need a bit more features to build a complex SPA. That's why this project is born.

Features

Getting started

git clone https://github.com/CodementorIO/nextjs-redux-starter my-project
cd my-project
yarn install
yarn start

Then open http://localhost:3100/ to see your app.

Deployment

After npm run build finished, run

yarn serve

If you prefer using now, just modify now.json config.

Structure overview

โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ next.config.js
โ”œโ”€โ”€ now.json
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ pages
โ”‚   โ”œโ”€โ”€ _app.js
โ”‚   โ”œโ”€โ”€ _document.js
โ”‚   โ”œโ”€โ”€ about.js
โ”‚   โ””โ”€โ”€ index.js
โ”œโ”€โ”€ public
โ”‚   โ””โ”€โ”€ static
โ”œโ”€โ”€ server
โ”‚   โ””โ”€โ”€ index.js
โ”œโ”€โ”€ src
โ”‚   โ”œโ”€โ”€ components
โ”‚   โ”œโ”€โ”€ config.js
โ”‚   โ”œโ”€โ”€ features
โ”‚   โ”œโ”€โ”€ libs
โ”‚   โ”œโ”€โ”€ store.js
โ”‚   โ”œโ”€โ”€ tests
โ”‚   โ”‚   โ”œโ”€โ”€ components
โ”‚   โ”‚   โ””โ”€โ”€ test-utils.js
โ”‚   โ””โ”€โ”€ theme.js
โ””โ”€โ”€ yarn.lock

ุงุณุชูƒุดู ู…ุดุงุฑูŠุน ู…ุดุงุจู‡ุฉ ูˆู…ุฑุชุจุทุฉ

ุฌุงุฑู ุงู„ุชุญู…ูŠู„โ€ฆ