This example shows how you can use axios-api-versioning
in a React App.
Make sure you are inside the
examples/with-react-typescript
folder before running any commands.
npm
npm install
yarn
yarn install
npm
npm start
yarn
yarn start
3. Visit http://localhost:3000
The react app should automatically open in your browser but if it doesn't then visit the url manually.
This is a sample sandbox project that shows real usage of how you could integrate axios-api-versioning
in your project.
Even though it is a React App, the same structure inside src/api.ts
can be used as inspiration in your own projects.