/react-axios-tutorial

React Axios Tutorial - Learn to make HTTP GET and POST Requests using Axios library. Create and consume REST APIs built with Node, Express and MongoDB.

Primary LanguageJavaScript

React Axios Tutorial

React Axios Tutorial - Learn to make HTTP GET and POST Requests using Axios library. Create and consume REST APIs built with Node, Express and MongoDB.

Step by Step Tutorial

React Axios Tutorial - Make HTTP GET and POST Requests

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it on the browser.

Start Node Server

  • Get inside the server folder
  • Run npm install to install required packages
  • Open terminal run nodemon
  • Open other terminal run mongod

Open API URL on http://localhost:4000/users