Boilerplate Nextjs App
This boilerplate is a starter nextjs app to building web platform at gredu-asia
Features
- nextjs v12
- react-query
- sass
- jest
- setup with conventional-commitizen
- precommit with husky
- minimal setup eslint & stylelint
- unleash
- yarn v3
- template merge request (feature, issue, default)
How to Install
Prerequisite
yarn ^v2
node ^14
run script
npx @gredu-asia/template-next-app {appName}
When init project successfully. follow the following command script to start
Structure Directory
example-project
public/
assets/ => Global share assets file.
src/
components/ => Common shared reusable global components.
constants/ => General constant data.
context/ => Global shared context state.
hooks/ => Global shared hooks function.
modules/ => Logic to handle all actions or fething resources.
utils/ => Utilities purposes.
views/ => View Layouts.
styles/
... General Mixin css and global variable.
Maintainer
@tomibudis
License
template-next-app is MIT licensed