Ecosyste.ms: Awesome

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

https://github.com/7kmCo/feathers-vue-nuxt

A starter for feathers.js and nuxt.js
https://github.com/7kmCo/feathers-vue-nuxt

Last synced: 4 months ago
JSON representation

A starter for feathers.js and nuxt.js

Lists

README

        

# feathers-nuxt-starter

## About

This is a starter template for [Feathers](http://feathersjs.com/) in the server and [Nuxt.js](https://nuxtjs.org/) or [vuejs](https://vuejs.org/) 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](https://github.com/feathers-plus/feathers-vuex).

## Getting Started

First make sure you have [NodeJS](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed also you have [mysql](https://www.mysql.com/) installed and its running. Personally I'm using [MAMP](https://www.mamp.info/) 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__

- Initial release

## License

Copyright (c) 2018

Licensed under the [MIT license](LICENSE).