🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

jazz-jss

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jazz-jss

bundlerRubygems
Version
0.0.4
Version published
Maintainers
1
Created
Source

jazz jss

It's a simple rapid prototyping JSS framework

Install

Usage

in shell jazz new example cd example jazz generate scaffold user firstName:string lastName:string age:integer

add route to config/routes.js Jazz.Route.draw( { '' : 'users_controller#index', '/' : 'users_controller#index', '/users' : 'users_controller#index', '/users/:user_id' : 'users_controller#show', '/users/:user_id/edit' : 'users_controller#edit', '/users/make' : 'users_controller#make' } );

open db/create/create_users.js and add default values var CreateUser = Jazz.Db.create( { columns: { firstName: { value: 'firstname', type: 'string' }, lastName: { value: 'lastname', type: 'string' }, age: { value: '23', type: 'integer' } } } );

create_users = new CreateUser;

open db/fixtures/users.js and uncomment _.times( 10, function(){ new User({}).save(); } );

in shell type jazz server

openup your browser and navigate to http://127.0.0.1:9292/index.html

Todo

Coming soon

Credits

Copyright (c) 2011 Florian Schade. All rights reserved.

FAQs

Package last updated on 27 Dec 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts