Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.09 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.09 KB

Server side rendering boilerplate with Next.js and Material-ui

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.

Installing / Getting started

Download the example or clone the repo:

git clone https://github.com/filipemarins/nextjs-material-ui-boilerplate
npm install

Development

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

Production

To build the project and start the server to production:

npm run build && npm run start

Licensing

This project is licensed under the MIT License - see the LICENSE.md file for details