Skip to content

Commit

Permalink
Upgrade to Feathers 3.1.0 and Quasar 0.14.7
Browse files Browse the repository at this point in the history
  • Loading branch information
leob committed Jan 31, 2018
1 parent 6afd752 commit f373f1b
Show file tree
Hide file tree
Showing 32 changed files with 15,967 additions and 9,271 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
.idea/
25 changes: 3 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Last but not least, I assume your are familiar with the [Vue.js](https://vuejs.o

## Installation and configuration

**This tutorial has been upgraded to Quasar version 0.14.1 and Feathers version 2.1.4 (Auk).**
**This tutorial has been upgraded to Quasar version 0.14.7 and Feathers version 3.0.5 (Buzzard).**

This tutorial has been initially made with Quasar version 0.13.4 and Feathers version 2.1.1. You can find previous version in the [releases](https://github.com/claustres/quasar-feathers-tutorial/releases).

Expand All @@ -55,14 +55,9 @@ $ npm install
$ quasar dev
```

Or use "yarn" instead of npm:
Or run it with npm instead of quasar:
```bash
$ yarn global add quasar-cli
$ quasar init quasar-feathers
$ cd quasar-feathers
$ yarn install
// Will launch the frontend server in dev mode on 8080
$ yarn run dev
$ npm run dev
```

Feathers for the backend in the app root directory:
Expand All @@ -79,20 +74,6 @@ $ feathers generate
$ npm start
```

Or with "yarn" instead of npm:
```bash
$ yarn global add feathers-cli
$ mkdir api
$ cd api
// For latest Feathers (Auk release)
$ feathers generate app
$ feathers generate authentication
// For legacy Feathers (Pre-Auk releases)
$ feathers generate
// Will launch the backend server in dev mode on 3030
$ yarn start
```

The default [NeDB](https://github.com/louischatriot/nedb) datastore is fine for our tutorial because it does not rely on any third-party DB software to be installed. Because we generated the Feathers boilerplate with authentication we already have a **user** service providing [CRUD](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) operations as well. But as we want to develop a chat application we miss a **message** service so we generate it in the backend folder:
```bash
feathers generate service
Expand Down
4 changes: 2 additions & 2 deletions quasar-feathers/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": [["es2015", {"modules": false}], "stage-2"],
"plugins": ["transform-runtime"],
"presets": [["es2015"], "stage-2"],
"plugins": ["transform-runtime", "add-module-exports", "transform-export-extensions"],
"comments": false
}
Empty file.
1 change: 1 addition & 0 deletions quasar-feathers/api/data/users.db
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"$$indexCreated":{"fieldName":"email","unique":true,"sparse":false}}
Loading

0 comments on commit f373f1b

Please sign in to comment.