Socket
Socket
Sign inDemoInstall

otagai

Package Overview
Dependencies
13
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    otagai

Otagai is an architecture application skeleton and framework that allows you to develop websites rapidly in Node.js and Express


Version published
Weekly downloads
17
increased by1600%
Maintainers
1
Install size
88.2 MB
Created
Weekly downloads
 

Readme

Source

Otagai.js

Otagai is an architecture application skeleton and framework that allows you to develop websites rapidly in Node.js and Express.


See more info on project homepage

How to install

  1. Download and install Node.js, MongoDB and Python (for mongodb bson npm module).

  2. Install otagai.js globally:

    npm install -g otagai
    
  3. Navigate to a directory where you have rights to create files, and type:

    otagai new app
    

    This will create an otagai.js application called App in a directory called app and install the npm dependencies.

  4. Change into the app directory and start development server

    cd app
    otagai server dev
    

CLI usage

Server

To use these commands you must be in app folder. To run application in production mode:

otagai server prod

To stop application:

otagai server stop

To restart:

otagai server restart

You may restart server forced with -f flag. This kill all node and mongo processes.

Admin user

otagai createuser -u username -e email@adress.com -p password

Creates a superuser account (a user who has all default permissions). This command useful for create initial user account.

Generators

For generate model:

otagai gen model demo -f name:string,count:number

Controller:

otagai gen controller demo

Views:

otagai gen views demo

Scaffold (model, controller, views):

otagai gen scaffold demo -f name:string,count:number

Inspiration

Project based on form5-node-express-mongoose-coffeescript

Otagai.js thinks to develop as modular framework, focused on convenience and speed of development: livereload, fast transparent preprocessing, easy database migrations and deploying. This is collection of massive patterns and best Node.js practicals.

Keywords

FAQs

Last updated on 23 Oct 2013

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc