An open API service indexing awesome lists of open source software.

https://github.com/rodrigorvsn/mugiwara-no-query

๐Ÿงช POC Testing React Query features for the presentation at work
https://github.com/rodrigorvsn/mugiwara-no-query

chakra-ui next-auth nextjs prisma react-query

Last synced: 8 months ago
JSON representation

๐Ÿงช POC Testing React Query features for the presentation at work

Awesome Lists containing this project

README

          

# Mugiwara no Query

![GitHub repo size](https://img.shields.io/github/repo-size/rodrigorvsn/mugiwara-no-query?style=for-the-badge)
![GitHub language count](https://img.shields.io/github/languages/count/rodrigorvsn/mugiwara-no-query?style=for-the-badge)
![GitHub forks](https://img.shields.io/github/forks/rodrigorvsn/mugiwara-no-query?style=for-the-badge)
![Bitbucket open issues](https://img.shields.io/bitbucket/issues/rodrigorvsn/mugiwara-no-query?style=for-the-badge)
![Bitbucket open pull requests](https://img.shields.io/bitbucket/pr-raw/rodrigorvsn/mugiwara-no-query?style=for-the-badge)

___

![image](https://user-images.githubusercontent.com/75763403/188975236-00c62efe-7274-4b85-ad33-99a4c63e4519.png)

___
> This is a POC with React Query to test the features of this tool.
___
## ๐Ÿ’ป Prerequisites

- Install LTS Node version.

___
## ๐Ÿ›  Tools used

- Typescript
- Nextjs
- React Query
- Chakra Ui
- Next Auth
- Prisma ORM

## ๐Ÿงช React Query features used:

- Query
- Mutations
- Optimistic update
- Devtools
- Cache
- Prefetch with SSR

___
## ๐Ÿš€ Installing mugiwara-no-query

1. To use, follow the steps:

```bash
git clone https://github.com/rodrigorvsn/mugiwara-no-query.git
```

```bash
yarn
```

2. Fill the `.env`, with the `.env.example`. Generate the Postgres database in the `docker-compose.yml` (optional), with:

```bash
docker-compose up -d
```

3. Populate the database if necessary with:

```bash
yarn prisma db push
```

4. Run!

```bash
yarn dev
```

## ๐Ÿ“ซ Contribuiting with mugiwara-no-query

To contribue with mugiwara-no-query, follow the steps:

1. Fork this repository.
2. Create a branch: `git checkout -b `.
3. Make the changes and confirm: `git commit -m ''`
4. Send to original repository: `git push origin / `
5. Send the pull request.

Alternatively, see the GitHub documentation at [how to create a pull request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).
___
## ๐Ÿค Contributors

Made with โค๏ธ by:




Foto do Rodrigo Victor no GitHub


Rodrigo Victor