An opinionated Next.js starter kit with Express, Redux, SASS, and Jest.
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.
- Dynamic routing with express and next-routes.
- State management with redux, react-redux, and next-redux-wrapper
- Styling with SASS and render using styled-jsx
- Unit testing with jest
- Linting with standard
- react-helmet, Immutable.js , 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.
βββ README.md
βββ next.config.js
βββ package.json
βββ pages
βΒ Β βββ _document.js
βΒ Β βββ about.js
βΒ Β βββ index.js
βββ routes.js
βββ server
βΒ Β βββ index.js
βββ src
βΒ Β βββ actions
βΒ Β βΒ Β βββ repos.js
βΒ Β βββ components
βΒ Β βΒ Β βββ SearchResults.js
βΒ Β βββ config.js
βΒ Β βββ containers
βΒ Β βΒ Β βββ SearchRepoContainer.js
βΒ Β βββ libs
βΒ Β βΒ Β βββ github.js
βΒ Β βββ reducers
βΒ Β βΒ Β βββ index.js
βΒ Β βΒ Β βββ repos.js
βΒ Β βββ store
βΒ Β βΒ Β βββ createStore.js
βΒ Β βββ styles
βΒ Β βΒ Β βββ SearchResults.scss
βΒ Β βΒ Β βββ base.scss
βΒ Β βββ test
βΒ Β βββ __mocks__
βΒ Β βΒ Β βββ styleMock.js
βΒ Β βββ components
βΒ Β βΒ Β βββ SearchResults.test.js
βΒ Β βββ jest.setup.js
βββ yarn.lock