🚀 Next.js Stack

All your needs have been configured to developing React applications.

🎉 Features

  • Typescript for adding static type definitions
  • Jest for unit testing
  • ESLint for find and fix problems in your code
  • Prettier for keep coding in a consistent style
  • Husky for make sure the code will stay clean before each commit
  • Maintainable folder structure
  • Storybook for testing UI components

🏃 Getting Started

# Clone the project
git clone https://github.com/ilkaydnc/next-stack.git
cd next-stack

# Install dependencies
yarn

# Run the development server
yarn dev

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

🤖 Available Scripts

  • dev - Run the development server on localhost:3000
  • build - Build your application
  • start - Run the production server
  • test - Test *.test.ts files on your project
  • lint - Lint js, jsx, ts, tsx files on your project
  • storybook - Run the storybook server on localhost:6006
  • build-storybook - Build Storybook as a static web application

🏛️ Project Folder Structure

├─public
│ └─fonts
│ └─images
├─src
│ └─pages
│   └─index.tsx
│ └─context
│ └─components
│   └─Button
│     └─index.tsx
│     └─Button.stories.tsx

📜 MIT License

Copyright © 2021 İlkay Dinç

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.