Skip to content

Latest commit

 

History

History

with-react-typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Example: with-react-typescript

This example shows how you can use axios-api-versioning in a React App.

Demo

Quick Start

Make sure you are inside the examples/with-react-typescript folder before running any commands.

1. Install Dependencies

npm
npm install
yarn
yarn install

2. Start the dev server

npm
npm start
yarn
yarn start

The react app should automatically open in your browser but if it doesn't then visit the url manually.

Overview

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.