npm install
npm i -g orval
npm i -g prettier
Edit orval.config.js. Make sure api is up and running.
orval
The generated functions and hooks are in MUI/src/saasrapi
. If you make changes to the API, you need to re-run orval
.
yarn start
This will automatically open http://localhost:3000.