Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/toadkicker/nuxt-crud-example

An example of creating restful interfaces quickly with Nuxt.js
https://github.com/toadkicker/nuxt-crud-example

Last synced: 2 months ago
JSON representation

An example of creating restful interfaces quickly with Nuxt.js

Awesome Lists containing this project

README

        

# crud-example

> An example project for building RESTful interfaces with Nuxt.js. Built to support the article [Quickly Building RESTful UI's in NuxtJS](https://itnext.io/quickly-building-restful-uis-in-nuxtjs-782bce539440).

## Build Setup

``` bash
# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn run dev

# start a fake json server using https://github.com/typicode/json-server
$ npm install -g json-server
$ $ node fake-server.js

# build for production and launch server
$ yarn run build
$ yarn run start

# generate static project
$ yarn run generate
```

For detailed explanation on how things work, checkout the [Nuxt.js docs](https://github.com/nuxt/nuxt.js).