Skip to content

Create a Next.js app with container support to deploy to a server.

License

Notifications You must be signed in to change notification settings

subfuzion/create-next-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

create-next-app

Get up and running with boilerplate for writing, testing, linting, and formatting TypeScript for a Next.js app. The generated project includes a Dockerfile for deploying the app to a server or containerized cloud environment.

npx @subfuzion/create-next-app [path]

Note

  • If path isn't specified, it defaults to the current working directory (.).
  • The directory under path must be empty.

Details

Configuration boilerplate for jump starting your app development includes:

The linting and formatting tools have been configured to work together:

  • .editorconfig has format settings that feed into Prettier
  • .eslintrc.json uses Prettier for formatting

The generated app includes a number of package scripts for development, including:

  • dev
  • build
  • lint and lint:fix

It is also configured with a pre-commit hook using Husky and lint-staged.

Notes

To use the latest published version, enter:

npx @subfuzion/create-next-app@latest [path]

If you want to use the latest version from the GitHub repo, enter:

npx github:subfuzion/create-next-app [path]

Warning Currently under development. This implementation assumes:

  1. You're running the latest LTS version (or greater) of Node.js (the current implementation might work with earlier versions, but this hasn't been verified).
  2. node and npm (automatically installed with Node.js) are in the path.
  3. git is in your path and user.name and user.email are already configured.
  4. Your system can run a bash script (for now).

Source

The source for the generated app is in the @subfuzion/next-starter-app repo.

License

Licensed under MIT.

About

Create a Next.js app with container support to deploy to a server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages