https://github.com/remarkablemark/react-typescript-mui-rtk-query-parcel-template
React TypeScript Parcel MUI RTK Query Template
https://github.com/remarkablemark/react-typescript-mui-rtk-query-parcel-template
Last synced: 2 months ago
JSON representation
React TypeScript Parcel MUI RTK Query Template
- Host: GitHub
- URL: https://github.com/remarkablemark/react-typescript-mui-rtk-query-parcel-template
- Owner: remarkablemark
- License: mit
- Created: 2022-10-23T00:28:05.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T06:59:49.000Z (about 1 year ago)
- Last Synced: 2024-05-01T21:25:45.249Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://remarkablemark.org/react-typescript-mui-rtk-query-parcel-template/
- Size: 13.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-typescript-mui-rtk-query-parcel-template
React TypeScript Parcel MUI RTK Query Template.
- Cloned from [react-typescript-mui-parcel-template](https://github.com/remarkablemark/react-typescript-mui-parcel-template).
- Inspired by [RTK Query](https://redux-toolkit.js.org/rtk-query/overview) example [React with GraphQL](https://redux-toolkit.js.org/rtk-query/usage/examples#react-with-graphql) (see [CodeSandbox](https://codesandbox.io/embed/github/reduxjs/redux-toolkit/tree/master/examples/query/react/graphql?module=%2Fsrc%2Fapp%2Fservices%2Fposts.ts&runonclick=1)).
- Demo uses [Star Wars GraphQL API](https://studio.apollographql.com/public/star-wars-swapi/home).## Prerequisites
- [Node.js](https://nodejs.org/en/download/)
## Install
Clone the repository:
```sh
git clone https://github.com/remarkablemark/react-typescript-mui-rtk-query-parcel-template.git
cd react-typescript-mui-rtk-query-parcel-template
```Install the dependencies:
```sh
npm install
```## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the web app in the development mode.
Open [http://localhost:1234](http://localhost:1234) to view it in the browser.
The page will reload if you make edits.
You will also see any errors in the console.
### `npm run build`
Builds the web app for production to the `dist` folder.
It correctly bundles in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
## License
[MIT](LICENSE)