Giter Site home page Giter Site logo

bezkoder / react-typescript-api-call Goto Github PK

View Code? Open in Web Editor NEW
43.0 4.0 27.0 474 KB

React Typescript with API call example using Hooks and Axios, Router & Bootstrap

Shell 0.05% HTML 10.29% CSS 3.21% TypeScript 86.45%
react reactjs axios react-hooks typescript react-typescript crud crud-application crud-sample

react-typescript-api-call's Introduction

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.

react-typescript-api-call-example

For instruction, please visit:

React Typescript with API call example using Hooks and Axios

More Practice:

React Typescript (Components) with Axios and API call example

(Javascript) React Hooks CRUD example with Axios and Web API

React Table example: CRUD App with react-table v7

React Pagination using Hooks example

React Hooks File Upload example

React Hooks: JWT Authentication & Authorization example

React + Redux + Hooks: JWT Authentication & Authorization example

Fullstack with Node Express:

React + Node Express + MySQL

React + Node Express + PostgreSQL

React + Node Express + MongoDB

Fullstack with Spring Boot:

React + Spring Boot + MySQL

React + Spring Boot + PostgreSQL

React + Spring Boot + MongoDB

Fullstack with Django:

React Hooks + Django Rest Framework

Serverless with Firebase:

React Firebase Hooks: CRUD App with Realtime Database example

React Hooks Firestore example: CRUD App

This project was bootstrapped with 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 to view it in the browser.

The page will reload if you make edits.

react-typescript-api-call's People

Contributors

tienbku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-typescript-api-call's Issues

Couldn't run the code here locally. ERR_CONNECTION_REFUSED

I cloned and made yarn install, and I am getting errors on the console for all the GETs and POSTs like:

Error: Network Error
    at createError (createError.js:16:1)
    at XMLHttpRequest.handleError (xhr.js:117:1)
    
    GET http://localhost:8080/api/tutorials net::ERR_CONNECTION_REFUSED

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.