This package has been deprecated

Author message:

Will no longer mantain this package, use: yo neonode

neonode

3.0.4 • Public • Published

Neon.js powered MVC Full-Stack development Anti-Framework.

npm-image

Usage

npm install -g neonode

neonode --init

Fill the prompts and this will create a project in the directory specified

Requirements

Install node module dependencies

npm install

Install Redis (optional, only if using sessions)

brew install redis

Install MySQL or Postgres (optional)

Install webpack as a global npm module

npm install webpack -g

To compile assets in dev mode

webpack -d

To compile assets in production mode

webpack -p

Go to Webpack documentation

Setup

Once a new project is created:

cp config/config-example.js config/config.js

Edit config.json as needed.

Run the server

redis-server (optional)
npm start

Database Migrations

Neonode uses Knex to access databases and you can use it to generate queries and migrate the DB. Read Knex Migrations

Controllers Generator

For Restful and non-Restful controllers run:

neonode --create controller

Models

neonode --create model

Middlewares

Middlewares are now located in ./middlewares and they are loaded fom the config/middlewares.js registry.

Contributing and Feature Requests

You MUST read CONTRIBUTING.md before you start filing a issue or making a Pull Request.

Credits

Neonode is possible thanks to these wonderful libraries

Neon

Thulium

Lithium

Argon

Krypton

Fuorine

Cobalt

CHANGELOG

Read CHANGELOG.md

Package Sidebar

Install

npm i neonode

Weekly Downloads

0

Version

3.0.4

License

none

Last publish

Collaborators

  • sgarza