{"repo":"sanjaytwisk/nextjs-ts","free":true,"listed":false,"github":"https://github.com/sanjaytwisk/nextjs-ts","clone":"git clone https://github.com/sanjaytwisk/nextjs-ts.git","description":"Opinionated Next JS project boilerplate with TypeScript and Redux","language":"TypeScript","stars":270,"topics":["nextjs","boilerplate","typescript","jest","react","redux","static-site","linters","safety","stylelint"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"NextJS Boilerplate An opinionated boilerplate to kickstart projects using NextJS Features - 👏🏼 Next 13 - ⚛️ React 18 - 🌊 Custom Document and App - ⌨️ Type safety using TypeScript in strict mode - 💄 Write SCSS & future CSS with PostCSS + preset-env - 🖊 SVG sprite for icons - 👀 Lint your code with ESLint & Stylelint - 🌈 Prettier for consistent code style - 🔨 Jest + Testing Library for tests - ☝️ Husky + lint-staged for code quality assurance - ⚙️ Editorconfig file for consistent indents - 🗄 Redux with react-redux and redux-thunk Variation branches Custom server Enzyme No redux Getting started Before you can start developing your awesome application you need to install the project's dependencies. Make sure you have Node ( = 10.13.0) and NPM installed and run: ⌨️ Development Once all dependencies have been installed you can start development. To start a development server on http://localhost:3000 run: 🖥 Production To run your application in production make sure to run a build first: And then start you application with a provided port number (defaults to 3000 if not provided): 🖨 Static You can export your application to a static website as well: This will render static HTML pages into ./out 🧐 Linters The boilerplate provides a couple of linters to help you keep an eye on code consistency and type safety. There are three linters: one for CSS, one for TypeScript and one for type safety. You can use each of them separately using the following commands: TIP: To get the mos","default_branch":null,"files":null,"tree":[],"storefront":"/r/sanjaytwisk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sanjaytwisk/nextjs-ts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}