Category Archives: VueJS

Learning VueJS 2.x

I. First project with node + vue

See more

II. Create fake json-server for develop

go to source folder

Install json-server

Create folder api in source folder

Create a


Start JSON Server

Now if you go to http://localhost:3000/posts/1, you’ll get

{ id: 1, title: json-server, author: typicode }

Add custom routes

Create a

file. Pay attention to start every route with


Start JSON Server with


Now you can access resources using additional routes.

/api/posts # → /posts 
/api/posts/1  # → /posts/1 
/blog/posts/1/show # → /posts/1 
/blog/javascript # → /posts?category=javascript 

Continue reading Learning VueJS 2.x