An infinite scrolled website
- Install all the dependencies
yarn install-all
- Execute proxy service
yarn proxy
- Execute React service
make sure the React service is running on port
yarn start
3000
- @mui/material: handle the basic component
- react-query: handle the data-fetching in React
Use proxy service to pass the requests to api server, avoiding the restriction of CORS
src/
api/
post.tsx
components/
shared/
Post.tsx
types/
post.ts
utils/
fetcher.ts
view/
layout/
Loading.tsx
payment/
Articles.tsx