Skip to content

Commit

Permalink
Update Custom Server README's (#10843)
Browse files Browse the repository at this point in the history
* update custom server readmes

* remove deploy buttons
  • Loading branch information
timneutkens committed Mar 5, 2020
1 parent 2d64986 commit 6679694
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 39 deletions.
8 changes: 0 additions & 8 deletions examples/api-routes-apollo-server-and-client-auth/README.md
Expand Up @@ -9,12 +9,6 @@ On initial page load, while on the server and inside `getInitialProps`, we invok
Note: Do not be alarmed that you see two renders being executed. Apollo recursively traverses the React render tree looking for Apollo query components. When it has done that, it fetches all these queries and then passes the result to a cache. This cache is then used to render the data on the server side (another React render).
https://www.apollographql.com/docs/react/api/react-ssr/#getdatafromtree

## Deploy your own

Deploy the example using [ZEIT Now](https://zeit.co/now):

[![Deploy with ZEIT Now](https://zeit.co/button)](https://zeit.co/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/api-routes-apollo-server-and-client-auth)

## How to use

### Using `create-next-app`
Expand Down Expand Up @@ -47,5 +41,3 @@ yarn dev
```

> If you have issues installing `bcrypt`, follow this instructions: https://github.com/kelektiv/node.bcrypt.js/wiki/Installation-Instructions
Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
8 changes: 0 additions & 8 deletions examples/api-routes-apollo-server-and-client/README.md
Expand Up @@ -9,12 +9,6 @@ On initial page load, while on the server and inside `getInitialProps`, we invok
Note: Do not be alarmed that you see two renders being executed. Apollo recursively traverses the React render tree looking for Apollo query components. When it has done that, it fetches all these queries and then passes the result to a cache. This cache is then used to render the data on the server side (another React render).
https://www.apollographql.com/docs/react/api/react-ssr/#getdatafromtree

## Deploy your own

Deploy the example using [ZEIT Now](https://zeit.co/now):

[![Deploy with ZEIT Now](https://zeit.co/button)](https://zeit.co/import/project?template=https://github.com/zeit/next.js/tree/canary/examples/api-routes-apollo-server-and-client)

## How to use

### Using `create-next-app`
Expand Down Expand Up @@ -45,5 +39,3 @@ npm run dev
yarn
yarn dev
```

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
2 changes: 0 additions & 2 deletions examples/custom-server-express/README.md
Expand Up @@ -36,5 +36,3 @@ npm run dev
yarn
yarn dev
```

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
3 changes: 0 additions & 3 deletions examples/custom-server-fastify/README.md
Expand Up @@ -36,6 +36,3 @@ npm run dev
yarn
yarn dev
```

Fastify
Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
2 changes: 0 additions & 2 deletions examples/custom-server-hapi/README.md
Expand Up @@ -36,5 +36,3 @@ npm run dev
yarn
yarn dev
```

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
2 changes: 0 additions & 2 deletions examples/custom-server-koa/README.md
Expand Up @@ -37,8 +37,6 @@ yarn
yarn dev
```

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).

## Side note: Enabling gzip compression

The most common Koa middleware for handling the gzip compression is [compress](https://github.com/koajs/compress), but unfortunately it is currently not compatible with Next.<br>
Expand Down
2 changes: 0 additions & 2 deletions examples/custom-server-micro/README.md
Expand Up @@ -36,5 +36,3 @@ npm run dev
yarn
yarn dev
```

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
2 changes: 0 additions & 2 deletions examples/custom-server-nodemon/README.md
Expand Up @@ -32,5 +32,3 @@ npm run dev
yarn
yarn dev
```

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
2 changes: 0 additions & 2 deletions examples/custom-server-polka/README.md
Expand Up @@ -36,5 +36,3 @@ npm run dev
yarn
yarn dev
```

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
4 changes: 0 additions & 4 deletions examples/custom-server-reasonml/README.md
Expand Up @@ -56,7 +56,3 @@ npm start
# or
yarn start
```

### Deploy the app

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
2 changes: 0 additions & 2 deletions examples/custom-server-typescript/README.md
Expand Up @@ -35,5 +35,3 @@ npm run dev
yarn
yarn dev
```

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
2 changes: 0 additions & 2 deletions examples/custom-server/README.md
Expand Up @@ -34,5 +34,3 @@ npm run dev
yarn
yarn dev
```

Deploy it to the cloud with [ZEIT Now](https://zeit.co/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).

0 comments on commit 6679694

Please sign in to comment.