Skip to content

gagahkharismanuary/next-metron

 
 

Repository files navigation

Metron

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

What's here?

  • 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

Usage

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

Project structure

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

License

This project is licensed under the MIT license, Copyright (c) 2018 Fian Kurniawan. For more information see LICENSE.md.

Contributing

[TODO]

Versioning

Metron is using semantic versioning. For the versions available, see the tags on this repository.

Author

Fian Kurniawan

About

Another React Next.js Boilerplate

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 83.2%
  • CSS 16.8%