This project is a demo application for React Query, a library used to manage server sate on React and React Native applications.
In addition to React Query, this project uses mainly these tools and libraries :
- Vite as bundler
- Vitest as test runner
- Chakra UI as components library
- React-i18Next for internationalization
- React Router as router
- React Hook Form for forms
- React Testing Library for unit tests
To start the demo, first run json-server
:
npm run json-server
It will start a small API server on 3004
port.
To start the application in development mode :
npm start
It will start the application in development mode on 5173
port. Any change to the source code will refresh the application.
To start the application in production mode :
npm run serve
It will start the application in production mode on 54173
port.
To build the application :
npm run build
It will generate production files in dist
directory.