GithubHelp home page GithubHelp logo

otlichnyy / production-ready Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 791 KB

Production ready nextjs with typescript, jest, eslint, lint staged, prettier, cypress, antd and other

Shell 0.90% JavaScript 21.24% TypeScript 77.24% CSS 0.63%
cypress eslint jest lint-staged nextjs prettier react

production-ready's Introduction

Nextjs Production Ready Boilerplate (Page Router)

Features

  • Next.js and React:

    • Server-side rendering and routing with Next.js.
    • React and ReactDOM for building the user interface.
    • React Redux and @reduxjs/toolkit for state management.
  • UI Components:

    • Ant Design (antd) for a comprehensive set of UI components.
    • Ant Design Icons (@ant-design/icons) for using icons within the application.
  • Development and Build Scripts:

    • Development script (npm run dev).
    • Build script for production (npm run build).
    • Start script for the production server (npm start).
    • Code linting with Next.js (npm run lint) and TypeScript type-checking (npm run build-types).
    • Jest for testing with configurations for test execution and watch mode (npm test, npm run test:watch).
    • SVGR for converting SVGs to React components (npm run svgr).
    • Bundle analyzer scripts for analyzing production bundle size (npm run analyze, npm run analyze:server, npm run analyze:browser).
  • Code Quality and Style:

    • ESLint for static code analysis with configurations for Next.js (eslint, eslint-config-next).
    • Prettier for code formatting (npm run prettier).
    • Husky and lint-staged for running scripts on pre-commit (npm run lint-staged).
    • Commitizen and conventional commits for standardized commit messages (npm run commit).
  • Testing:

    • Cypress for end-to-end testing (npm run cypress:open, npm run cypress:run).
    • Start-server-and-test for coordinating starting the server and running tests (npm run cypress:test).
  • TypeScript:

    • TypeScript for static typing in both development and build processes.
  • Environment Configuration:

    • Dotenv for managing environment variables.
  • Dependency Management:

    • npm-force-resolutions for forcing dependency resolutions (npm run preinstall).
    • Resolutions set for minimist to a specific version.

Getting Started

git clone <REPO NAME.git>

Installation

npm install

License

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

production-ready's People

Contributors

otlichnyy avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.