Skip to content

This project is a simple boilerplate for server side rendering approach.

License

Notifications You must be signed in to change notification settings

filipemarins/nextjs-material-ui-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This project is a simple boilerplate for server side rendering approach.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published