artista-mean
MEAN stack source code generator
Last updated 4 years ago by takayoshi-aoyagi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install artista-mean -g
SYNC missed versions from official npm registry.

artista-mean

Installation

$ npm install -g express-generator
$ npm install -g artista-mean

Features

Generates MEAN stack from JSON file.

No definition. All you need is data JSON files!

artista-mean analyze JSON files, then generate schemas.

  • Generates express project
  • Generates mongoose ODM
  • Generates AngularJS application
  • Generates Management Page for JSON data

Quick Start

  • Prepare directory for JSON files
% tree /tmp/json
/tmp/json
├── Car.json
└── Person.json

0 directories, 2 files

Car.json

[
    {
	"id": 7,
	"name": "RX-7"
    },
    {
	"id": 8,
	"name": "Elise"
    },
    {
	"id": 9,
	"name": "NSX"
    }
]

Person.json

[
    {
	"id": 1,
	"name": "Takayoshi Aoyagi",
	"gender": "male",
	"age": 43,
	"company": {
	    "name": "Artista",
	    "position": "president"
	},
	"hobbies": ["Car", "Music", "Taekwon-do"],
	"married": true
    }
]
  • Execute command
$ artista-mean /tmp/sample /tmp/json
$ cd /tmp/sample && npm install
$ node import.js
$ npm start
  • Auto generated Admin page

http://localhost:3000/admin.html

Current Tags

  • 0.0.5                                ...           latest (3 years ago)

6 Versions

  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |