Neon.js powered MVC Full-Stack development Anti-Framework.
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)
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 in filename ASC order for your tweaking or adding pleasure.
Examples
Contributing and Feature Requests
You MUST read CONTRIBUTING.md before you start filing a issue or making a Pull Request.
Troubleshooting
Delete /usr/local/bin/neonode if you have a < 2.0.0 version installed
Credits
Neonode is possible thanks to these wonderful libraries
Neon
Thulium
Lithium
Argon
Fuorine
Cobalt
CHANGELOG
Read CHANGELOG.md