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.
First make sure you have NodeJS and npm installed also you have mysql installed and its running. Personally I'm using MAMP on mac.
-
Download or clone this repo.
-
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
-
Edit config file in
/server/config/default.json
acording to your setup. -
Start server
npm run dev # With auto reload on file changes
-
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.
0.1.0
- Initial release
Copyright (c) 2018
Licensed under the MIT license.