/Vue-API-project

project with vue using boostrap and fake api

Primary LanguageVue

Overview

This project uses json-server to create a mock REST API and Axios in a Vue.js application to interact with this API. This document explains how to set up json-server, configure it with db.json, and use Axios to make HTTP requests from your Vue.js application.

Setting Up json-server

Install json-server Globally

First, make sure you have json-server installed globally. You can install it using npm:

npm install -g json-server