- To create a project based on this template click on the
Use this template
button - Find and Replace
PROJECT_NAME
placeholder with the real project name - Delete libraries which do not satisfy project needs
- Delete this section from
README
- To cover your tracks and incorporate the changes to the project's
Initial commit
, run these commands:
git commit -a --amend
git push -f origin master
Project is based on Next.js
, a production-ready React Framework. Check out the documentation for more information.
node
npm
Firstly, install all necessary dependencies:
npm install
To start a development server:
npm run dev
To build the app for production:
npm run build
npm start
template-next/
├── config (theme)
├── public
├── shared (shared files - css, validation, etc.)
└── src
├── components (inspired by atomic design principles)
│ ├── elements (small building blocks)
│ ├── layouts (wrappers for templates)
│ ├── modules (more building blocks together)
│ └── templates (page specific content)
├── graphql (each module and its queries and mutations)
├── i18n (translations)
├── pages
├── services (graphql client and other services)
├── stores (state management)
└── types (more complex interfaces)
-
React Framework
-
Type-checking
-
Code quality tools
-
Other