https://github.com/gadingnst/fullstack-next-graphql
Fullstack Next.js boilerplate with Express and Apollo Server
https://github.com/gadingnst/fullstack-next-graphql
Last synced: 9 months ago
JSON representation
Fullstack Next.js boilerplate with Express and Apollo Server
- Host: GitHub
- URL: https://github.com/gadingnst/fullstack-next-graphql
- Owner: gadingnst
- Created: 2019-11-20T08:15:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T20:45:56.000Z (about 4 years ago)
- Last Synced: 2024-10-12T10:44:20.556Z (about 1 year ago)
- Language: JavaScript
- Size: 411 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fullstack Next GraphQL Boilerplate
---
> Status: ongoing
## Table of contents
- [# Fullstack Next GraphQL Boilerplate](#h1-id%22fullstack-next-graphql-boilerplate-74%22fullstack-next-graphql-boilerplateh1)
- [Table of contents](#table-of-contents)
- [Why ?](#why)
- [Setup](#setup)
---
## 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
```bash
# with npm
$ npm install
# or with yarn
$ yarn install
```
- Run server in development mode
```bash
$ npm run dev
# or
$ yarn dev
```
- Before run server in production mode, you must build next files
```bash
$ npm run build
# or
$ yarn build
```
- Start server in production mode
```bash
$ npm start
# or
$ yarn start
```
---
Copyright © 2019 by Sutan Gading Fadhillah Nasution