Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 days 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-23T18:12:49.000Z (over 3 years ago)
- Last Synced: 2024-05-02T02:05:07.574Z (6 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: 27
- Watchers: 2
- 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
[![Node CI](https://github.com/natterstefan/nextjs-rtk-query-example/actions/workflows/ci.yml/badge.svg)](https://github.com/natterstefan/nextjs-rtk-query-example/actions/workflows/ci.yml)
[![GitHub issues](https://img.shields.io/github/issues/natterstefan/nextjs-rtk-query-example)](https://github.com/natterstefan/nextjs-rtk-query-example/issues)
[![GitHub stars](https://img.shields.io/github/stars/natterstefan/nextjs-rtk-query-example)](https://github.com/natterstefan/nextjs-rtk-query-example/stargazers)
[![GitHub license](https://img.shields.io/github/license/natterstefan/nextjs-rtk-query-example)](https://github.com/natterstefan/nextjs-rtk-query-example/blob/main/LICENSE)
[![nextjs](https://img.shields.io/badge/nextjs-built%20with%20typescript-informational.svg?logo=typescript&logoWidth=20)](https://github.com/natterstefan/nextjs-rtk-query-example)![[natterstefan/nextjs-template](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):
[![Deploy with Vercel](https://vercel.com/button)](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._