Never let judgment cloud your curiosity.
--Metron (New Earth)
Another React Next.js Boilerplate
With a combination of nextjs with redux observable, nextjs with custom express server, and nextjs with react toolbox
- SSR with next.js
- custom server with express
- redux and redux-observable
- fractal project structure
- React class component - stateless component hybrid
- [Material UI v1] (https://material-ui-next.com/)
- Fake Auth
git clone git@github.com:littlechad/next-metron.git
cd next-metron
yarn install
running in development
yarn dev
running in production
mv .env.example .env && export $(cat .env | xargs)
yarn run build
yarn start
Root
...
├── components
├── pages
├── redux
├── static
├── server.js
├── env.example.sh
├── package.json
└── yarn.lock
Components
...
├── components
│ └── Info
│ └── index.js
...
Pages
...
├── pages
│ ├── about
│ │ ├── component
│ │ │ └── index.js
│ │ ├── container
│ │ │ └── index.js
│ │ └── index.js
...
│ ├── index.js
└── _document.js
Redux
├── redux
│ ├── ducks
│ │ ├── Character
│ │ │ ├── actions.js
│ │ │ ├── epics.js
│ │ │ ├── index.js
│ │ │ └── types.js
...
│ ├── index.js
│ └── root
│ ├── epics.js
│ └── reducers.js
This project is licensed under the MIT license, Copyright (c) 2018 Fian Kurniawan. For more information see LICENSE.md.
[TODO]
Metron is using semantic versioning. For the versions available, see the tags on this repository.
Fian Kurniawan