Skip to content

Fullstack Next.js boilerplate with Express and Apollo Server

Notifications You must be signed in to change notification settings

gadingnst/fullstack-next-graphql

Repository files navigation

Fullstack Next GraphQL Boilerplate


Status: ongoing

Table of contents


Why ?

If you want to build a monorepo project with Next.js which combines server and frontend in one repository. This boilerplate suitable for you! It is cost-effective because server and frontend only have one node_modules and can share utils each other.

Setup

  • Clone repository $ git clone https://github.com/sutanlab/fullstack-next-graphql.git

  • Install depedencies

# with npm
$ npm install

# or with yarn
$ yarn install
  • Run server in development mode
$ npm run dev
# or
$ yarn dev
  • Before run server in production mode, you must build next files
$ npm run build
# or
$ yarn build
  • Start server in production mode
$ npm start
# or
$ yarn start 

Copyright © 2019 by Sutan Gading Fadhillah Nasution

About

Fullstack Next.js boilerplate with Express and Apollo Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published