Skip to content

zizzhangJohn/json-placeholder-client

Repository files navigation

· Use Redux(RTK) for state management

· Implement pagination

· Use Material UI

· Use TypeScript

· Use Jest and @testing-library/react for unit test (in progress)

Deploy at https://fancy-haupia-7ce3cf.netlify.app/

Usage

  1. create .env.development file under the root directory

  2. paste in this without any quote VITE_API_BASE_URL=https://jsonplaceholder.typicode.com/

npm install
npm run dev

Notes

# to expose server to local network and view on mobile devices
npm run host

you can add in .env.production file for production build variables