Coder Social home page Coder Social logo

feathers-vuex-todomvc's Introduction

logo.png

Feathers-vuex TodoMVC demo

This project takes the existing Vue TodoMVC demo and adds Feathers, and Feathers-vuex awesomeness!

In short, this stack makes it really simple to get reactive updates in Vue from a Feathers.js server, through Vuex.

It’s a beautiful combination of full-stack tech.

How to get started

First, clone this repo

git clone [email protected]:wdmtech/feathers-vuex-todomvc.git

Server (Feathers)

cd server

npm install

npm run start

Client (Vue)

cd client

npm install

npm run serve or vue ui if you have vue-cli 3 or later.

Navigate to the url displayed (default localhost:8080) to view in your browser:

preview.png

Still to do - contributions welcome!

Why?

I built this because there seemed to be a need for examples containing actual implementation of Feathers with Vue and Feathers-vuex.

Further information

CRUD operations in the UI

The Models and Instances API is used to create/remove/edit todos, and there is also an example implementation that illustrates receiving events from the server on the client.

todos service

…on the client

The service is defined in feathers-vuex: ./client/src/store/services/todos.js

This is then loaded by the store: ./client/src/store/index.js

…on the server

Initial todo data

The todos service is seeded with some initial data, in ./server/src/services/todos/todos.service.js

feathers-vuex-todomvc's People

Contributors

wdmtech avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.