https://github.com/natterstefan/nextjs-rtk-query-example
Next.js with rtk-query example.
https://github.com/natterstefan/nextjs-rtk-query-example
nextjs nextjs-example nextjs-typescript redux redux-toolkit rtk rtk-query typescript vercel
Last synced: 8 months ago
JSON representation
Next.js with rtk-query example.
- Host: GitHub
- URL: https://github.com/natterstefan/nextjs-rtk-query-example
- Owner: natterstefan
- License: mit
- Created: 2021-04-23T15:46:07.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-23T18:12:49.000Z (almost 5 years ago)
- Last Synced: 2025-04-10T01:14:43.910Z (10 months ago)
- Topics: nextjs, nextjs-example, nextjs-typescript, redux, redux-toolkit, rtk, rtk-query, typescript, vercel
- Language: TypeScript
- Homepage: https://nextjs-rtk-query-example.vercel.app
- Size: 313 KB
- Stars: 28
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# nextjs-rtk-query-example
[](https://github.com/natterstefan/nextjs-rtk-query-example/actions/workflows/ci.yml)
[](https://github.com/natterstefan/nextjs-rtk-query-example/issues)
[](https://github.com/natterstefan/nextjs-rtk-query-example/stargazers)
[](https://github.com/natterstefan/nextjs-rtk-query-example/blob/main/LICENSE)
[](https://github.com/natterstefan/nextjs-rtk-query-example)
](./assets/screenshot.png)
Next.js with rtk-query example.
## Installation & Setup
```bash
yarn
```
Once the task is completed you can start the app with `yarn dev`.
## Start
```bash
# development mode
yarn dev
# production mode
yarn build
yarn start
```
## Development
### Tests & Code Style
```bash
yarn test
yarn lint
```
## Deployment
### Deploy your own
Deploy `nextjs-rtk-query-example` using [Vercel](https://vercel.com):
[](https://vercel.com/import/project?template=https://github.com/natterstefan/nextjs-rtk-query-example)
### Docker
`nextjs-rtk-query-example` also provides a Docker Image (see [docker](./docker)) and
docker-compose setup.
#### Build Docker Image
```bash
./gradlew buildDockerImage
```
#### Run Docker Image
```bash
./gradlew runDockerBuild
```
Or when you want to run it in the background:
```bash
docker-compose --env-file ./.env.local up -d
```
## License
[MIT](./LICENSE)
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Barnabas Jovanovics
🤔

Stefan Natter
🤔
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
---
_Based on the template._