MasterPKG is a full-stack JavaScript open-source solution, which provides a solid starting point for Syncorm, Node.js, Express, AngularJS and masterpkg base based applications. The idea is build a robust framework to support development needs, and help developers while working with JavaScript.
Before you begin we recommend you read about the basic building blocks that assemble a MasterPKG application:
- Syncorm: Syncorm github project. The main idea of this orm is to load the full database in memory at the begining of the execution.
- Master Base: masterpkg base
- Express - The best way to understand express is through its Official Website, which has a Getting Started guide, as well as an ExpressJS guide for general express topics. You can also go through this StackOverflow Thread for more resources.
- AngularJS - Angular's Official Website is a great starting point. You can also use Thinkster Popular Guide, and Egghead Videos.
- Node.js - Start by going through Node.js Official Website and this StackOverflow Thread, which should get you going with the Node.js platform in no time.
- Git - https://git-scm.com/
- nodejs - https://nodejs.org
Only need execute
$ npm install masterpkg -g
Server is similar than "Build task" but initializing the server node js
masterpkg server
Then you can access to http://localhost:3000
The task client, initializes the "watches" of the files frontend (this task requires that the server is running)
masterpkg client
Then you can access to http://localhost:3001
masterpkg build
npm install script executes the following commands in the following order:
- npm:
- scripts:
- templates:
- index:
- static:
- bower_components:
- sass:
- translations:
- app:
Para ejecutar los test
masterpkg test
Need a karma config file
To run the test in debug mode
masterpkg test-dev
Need a karma config file
To install the libraries of masterpkg base
masterpkg masterLibs
To check all files where there are translations and create files * .po
masterpkg pot