Complete documentation available at: http://vue-cluster.com/
This is a project in it's initial stage. I could really use some feedback if anyone has some time. Thanks!
- 1.1.0 Removed the puglatizer package and am just using vue2 templates - 1.0.2 VueRouter 2 broke the build so I'm pushing up the change to fix it. - 0.0.1 The initial build for VueCluster. This is not something that should be used. It's more for testing for me. Thanks for taking the time to look and feel free to give me any feedback.
VueCluster is a Server-Less,fully clustered (horizontal and vertical), full framework based on Vue2, Vue-router2, Socketcluster, and SC-CRUD-MySQL. The goal is to build a full framework that provides UNLIMITED scaling, high speed, redundency, and no server management. After the initial mysql setup, there should almost no need for any server code unless you want some kind of API which we provide Express routes for endpoints.
NOTE: While MySQL is the preferred database for VueCluster, you can pass in ANY database connection into the worker as long as it uses .query for querying. You can write a wrapper to match this and pass that in if your preferred database doesn't match that pattern. Thanks!
VueCluster provides so many features to speed up your app, it's hard to put all of them into a few sentences. If you are interested in all the features provided by VueCluster, please navigate to our website.
Bootstrap 4 (http://v4-alpha.getbootstrap.com/)
- Nick Kotenberg
npm install -g vue-cluster
Building a default application
vue-cluster create myApp
Install your database onto your system.
Fill out the config.json and database.json in your 'myApp' folder.
Create the database in mysql (or whatever database you are using) (In mysql -->)
create database vue_cluster;
npm install -g db-migrate
$ npm start
localhost:3000in your browser, login with the parameters you specified in the config file and you're done!
The app is structured to provide easy access to everything you need pretty much in two folders.
The app file provides access to your main vue instance. You can alter this file just like you would a normal Vue2 instance
This file provides access to you vue routes. You can alter these routes just like you would normal vue2-router routes.
All pages are altered in the
public/js/src folder. You can add any new pages here just make sure you register them in your router.vue file. For more information on how to build more complex pages, please refer to the documentation on the website.
- Add hot-reload for socketcluster