Home

Awesome

feathers-nuxt-starter

About

This is a starter template for Feathers in the server and Nuxt.js or vuejs in client. I'm using mySql as datastore. There is two simple models, posts and categories, a practical example of many-to-many relationship, posts-categories and one-to-many user-post and user-category.

Both Vue and Nuxt clients are implementing feathers-vuex.

Getting Started

First make sure you have NodeJS and npm installed also you have mysql installed and its running. Personally I'm using MAMP on mac.

  1. Download or clone this repo.

  2. Install your dependencies of both server and client directories

    cd path/to/feathers-nuxt-starter/server && npm install
    cd path/to/feathers-nuxt-starter/nuxt-client && npm install
    cd path/to/feathers-nuxt-starter/vue-client && npm install
    
  3. Edit config file in /server/config/default.json acording to your setup.

  4. Start server

    npm run dev # With auto reload on file changes
    
  5. Start client

    npm run dev # For nuxt with Hot Module Replacement
    npm run serve # For vue with Hot Module Replacement
    

You can find more details in each directory.

Changelog

0.1.0

License

Copyright (c) 2018

Licensed under the MIT license.