Skip to content

khajer/rider.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rider.js

fast way to create web-application (node + mongodb)


Installation

npm install rider.js -g

How to user

Create project

rider create-app YOUAPP_NAME

Run Server

cd YOUAPP_NAME
node index.js

change config db (config/db.json)

{
  "db_name": "xx",   // <-- set you db name
  "db_type": "mongo",
  "host": "localhost",
  "username": "",
  "passwd": ""
}	

create model file

rider create-model YOU_MODEL

generate controller , view with model

rider gen-model YOU_MODEL

run server again

node index.js

test url

http://localhost:3000/YOU_MODEL/index

Powered by (expressjs)

created by itsara konsombut (khajer@yahoo.com)

About

fast way to create web connect db with nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published