https://github.com/bezkoder/react-typescript-api-call
React Typescript with API call example using Hooks and Axios, Router & Bootstrap
https://github.com/bezkoder/react-typescript-api-call
axios crud crud-application crud-sample react react-hooks react-typescript reactjs typescript
Last synced: 8 months ago
JSON representation
React Typescript with API call example using Hooks and Axios, Router & Bootstrap
- Host: GitHub
- URL: https://github.com/bezkoder/react-typescript-api-call
- Owner: bezkoder
- Created: 2021-07-09T03:46:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-18T10:16:48.000Z (over 3 years ago)
- Last Synced: 2025-03-28T10:47:34.869Z (9 months ago)
- Topics: axios, crud, crud-application, crud-sample, react, react-hooks, react-typescript, reactjs, typescript
- Language: TypeScript
- Homepage:
- Size: 463 KB
- Stars: 44
- Watchers: 3
- Forks: 26
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Typescript with API call example using Hooks and Axios
Build a React Typescript CRUD Application to consume Web API with Hooks and Axios, display and modify data with Router & Bootstrap.
- Each Tutorial has id, title, description, published status.
- We can create, retrieve, update, delete Tutorials.
- There is a Search bar for finding Tutorials by title.

For instruction, please visit:
> [React Typescript with API call example using Hooks and Axios](https://www.bezkoder.com/react-typescript-api-call/)
More Practice:
> [React Typescript (Components) with Axios and API call example ](https://www.bezkoder.com/react-typescript-axios/)
> [(Javascript) React Hooks CRUD example with Axios and Web API](https://www.bezkoder.com/react-hooks-crud-axios-api/)
> [React Table example: CRUD App with react-table v7](https://www.bezkoder.com/react-table-example-hooks-crud/)
> [React Pagination using Hooks example](https://www.bezkoder.com/react-pagination-hooks/)
> [React Hooks File Upload example](https://www.bezkoder.com/react-hooks-file-upload/)
> [React Hooks: JWT Authentication & Authorization example](https://www.bezkoder.com/react-hooks-jwt-auth/)
> [React + Redux + Hooks: JWT Authentication & Authorization example](https://www.bezkoder.com/react-hooks-redux-login-registration-example/)
Fullstack with Node Express:
> [React + Node Express + MySQL](https://www.bezkoder.com/react-node-express-mysql/)
> [React + Node Express + PostgreSQL](https://www.bezkoder.com/react-node-express-postgresql/)
> [React + Node Express + MongoDB](https://www.bezkoder.com/react-node-express-mongodb-mern-stack/)
Fullstack with Spring Boot:
> [React + Spring Boot + MySQL](https://www.bezkoder.com/react-spring-boot-crud/)
> [React + Spring Boot + PostgreSQL](https://www.bezkoder.com/spring-boot-react-postgresql/)
> [React + Spring Boot + MongoDB](https://www.bezkoder.com/react-spring-boot-mongodb/)
Fullstack with Django:
> [React Hooks + Django Rest Framework](https://www.bezkoder.com/django-react-hooks/)
Serverless with Firebase:
> [React Firebase Hooks: CRUD App with Realtime Database example](https://www.bezkoder.com/react-firebase-hooks-crud/)
> [React Hooks Firestore example: CRUD App](https://www.bezkoder.com/react-hooks-firestore/)
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
### Set port
.env
```
PORT=8081
```
## Project setup
In the project directory, you can run:
```
npm install
# or
yarn install
```
or
### Compiles and hot-reloads for development
```
npm start
# or
yarn start
```
Open [http://localhost:8081](http://localhost:8081) to view it in the browser.
The page will reload if you make edits.