https://github.com/bezkoder/vue-axios-example
Vue js Axios example - Get/Post/Put/Delete request with Rest API - JSON data
https://github.com/bezkoder/vue-axios-example
axios http-client vue vue-axios vuejs
Last synced: about 1 month ago
JSON representation
Vue js Axios example - Get/Post/Put/Delete request with Rest API - JSON data
- Host: GitHub
- URL: https://github.com/bezkoder/vue-axios-example
- Owner: bezkoder
- Created: 2021-10-26T05:20:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T13:50:07.000Z (over 3 years ago)
- Last Synced: 2025-03-28T10:47:33.678Z (about 2 months ago)
- Topics: axios, http-client, vue, vue-axios, vuejs
- Language: Vue
- Homepage:
- Size: 155 KB
- Stars: 15
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue Axios example with Rest API
Vue Client with Axios to make CRUD requests to Rest API in that:
- Vue Axios GET request: get all Tutorials, get Tutorial by Id, find Tutorial by title
- Vue Axios POST request: create new Tutorial
- Vue Axios PUT request: update an existing Tutorial
- Vue Axios DELETE request: delete a Tutorial, delete all Tutorials
For instruction, please visit:
> [Vue Axios example - Get/Post/Put/Delete with Rest API](https://www.bezkoder.com/vue-axios-example/)Related Posts:
> [Vue Fetch example - Get/Post/Put/Delete with Rest API](https://www.bezkoder.com/vue-fetch-example/)> [Vue 2 CRUD example with Axios and Vue Router](https://www.bezkoder.com/vue-js-crud-app/)
> [Vue 3 CRUD example with Axios and Vue Router](https://www.bezkoder.com/vue-3-crud/)
More Practice:
> [Vue Pagination with Axios and API example](https://www.bezkoder.com/vue-pagination-axios/)> [Vue JWT Authentication with Vuex and Vue Router](https://www.bezkoder.com/jwt-vue-vuex-authentication/)
> [Vue File Upload example using Axios](https://www.bezkoder.com/vue-axios-file-upload/)
Fullstack with Node Express:
> [Vue + Node Express + MySQL](https://www.bezkoder.com/vue-js-node-js-express-mysql-crud-example/)> [Vue + Node Express + PostgreSQL](https://www.bezkoder.com/vue-node-express-postgresql/)
> [Vue + Node Express + MongoDB](https://www.bezkoder.com/vue-node-express-mongodb-mevn-crud/)
Fullstack with Spring Boot:
> [Vue + Spring Boot](https://www.bezkoder.com/spring-boot-vue-js-crud-example/)> [Vue + Spring Boot + MongoDB](https://www.bezkoder.com/spring-boot-vue-mongodb/)
Fullstack with Django:
> [Vue + Django](https://www.bezkoder.com/django-vue-js-rest-framework/)Integration (run back-end & front-end on same server/port)
> [Integrate Vue with Spring Boot](https://www.bezkoder.com/integrate-vue-spring-boot/)> [Integrate Vue App with Node Express](https://www.bezkoder.com/serve-vue-app-express/)
Serverless with Firebase:
> [Vue Firebase Realtime Database: CRUD example](https://www.bezkoder.com/vue-firebase-realtime-database/)> [Vue Firestore CRUD example](https://www.bezkoder.com/vue-firestore-crud/)
## Project setup
```
npm install
```### Compiles and hot-reloads for development
```
npm run serve
```### Compiles and minifies for production
```
npm run build
```### Lints and fixes files
```
npm run lint
```### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).