An opinionated Next.js starter kit with Express, Redux Toolkit, styled-components, and react-testing-library.
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.
- โฒ Based on latest Next.js
- ๐ State management with redux-toolkit
- ๐ Styling with styled-components
- ๐ Unit testing with react-testing-library
- ๐ Linting staged changes on pre-commit with standard
- โ react-helmet, dotenv, and more...
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.
After npm run build
finished, run
yarn serve
If you prefer using now
, just modify now.json
config.
โโโ 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