Skip to content

STRV template repository for bootstrapping Next.js + GraphQL projects

Notifications You must be signed in to change notification settings

strvcom/template-frontend-next-graphql

Repository files navigation

PROJECT_NAME

Get Started

  1. To create a project based on this template click on the Use this template button
  2. Find and Replace PROJECT_NAME placeholder with the real project name
  3. Delete libraries which do not satisfy project needs
  4. Delete this section from README
  5. 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

Documentation

Project is based on Next.js, a production-ready React Framework. Check out the documentation for more information.

Prerequisites

  • node
  • yarn

Usage

Firstly, install all necessary dependencies:

yarn install

To start a development server:

yarn dev

To build the app for production:

yarn build
yarn start

To run tests:

yarn test

Deployment

TODO: add info after setup

What's Inside