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

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

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)