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: about 2 months ago
JSON representation
A starter for feathers.js and nuxt.js
- Host: GitHub
- URL: https://github.com/7kmCo/feathers-vue-nuxt
- Owner: 7kmCo
- Created: 2018-09-09T22:01:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-23T21:35:30.000Z (over 1 year ago)
- Last Synced: 2024-08-03T18:14:19.677Z (5 months ago)
- Language: JavaScript
- Size: 438 KB
- Stars: 20
- Watchers: 3
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-feathersjs - Feathers + Vue and Nuxt
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).