Skip to content

A Next.js setup for use as the base of other projects.

License

Notifications You must be signed in to change notification settings

cjpollok/next-js-base

Repository files navigation

Next.js Base

A Next.js setup for use as the base of other projects.

Getting Started

Installation

  1. Install all dependencies from the CLI:
npm install
  1. Add the following line to your etc/hosts file to enable a custom local domain (on Mac /etc/hosts or on Windows C:/Windows/System32/drivers/etc/hosts):
127.0.0.1 custom-domain.local

Development

The application can be run locally with hot reloading at http://custom-domain.local:3000:

npm run dev

Starting a New Project

  • Remove package-lock.json from the .gitignore file
  • Specify a new project name in the package.json and document title element
  • Specify a new custom domain for local development instead of custom-domain
  • Remove the disallow all from the robots.txt when ready to go live

Built With

Code

Unit Testing

Tooling

Redux (redux branch)

Design System (chakra-ui branch)

  • Chakra UI - Modular and accessible component library
  • Storybook - Build and test UI components in isolation

License

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

About

A Next.js setup for use as the base of other projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published