25 lines
721 B
Markdown
25 lines
721 B
Markdown
# Example web app
|
|
|
|
An example SSR web app using:
|
|
|
|
- [`next`](https://npm.im/next)
|
|
- [`@apollo/client`](https://npm.im/@apollo/client)
|
|
- [`apollo-upload-client`](https://npm.im/apollo-upload-client)
|
|
|
|
## Installation
|
|
|
|
1. Install the latest [Node.js and npm](https://npmjs.com/get-npm).
|
|
2. Duplicate `.env.example` as `.env` and configure.
|
|
3. Run `npm install` in the `app` directory with Terminal.
|
|
4. Run `npm run dev` for development, or `npm run build && npm start` for production.
|
|
|
|
Ensure your editor supports:
|
|
|
|
- [EditorConfig](https://editorconfig.org)
|
|
- [ESLint](https://eslint.org)
|
|
- [Prettier](https://prettier.io)
|
|
|
|
## Requirements
|
|
|
|
See the [`package.json`](./package.json) fields `engines` and `browserslist`.
|