This project is a simple boilerplate for server side rendering approach. It comes with Next.js
to handle routes and server side rendering, Material-ui
for a components framework, Styled-components
to style lib, Jest and Enzyme
for test suite, Eslint and Prettier
for a code style/quality, and Husky
to prevent bad commits/pushs.
Download the example or clone the repo:
git clone https://github.com/filipemarins/nextjs-material-ui-boilerplate
npm install
The eslint and prettier is configured with husky to run and fix problems on pre commit. And tests before push.
To build the project and run the server in developer mode:
npm run dev
To run the tests:
npm test
To build the project and start the server to production:
npm run build && npm run start
This project is licensed under the MIT License - see the LICENSE.md file for details