Skip to content

linger1216/node-restful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The lite node restful api framework

Files description

node-project
β”œβ”€β”€ package.json
β”œβ”€β”€ index.js 
β”œβ”€β”€ app
β”‚   β”œβ”€β”€ config
β”‚   |   └── config_dev.js or config_prod.js
β”‚   β”œβ”€β”€ controller
β”‚   |   └── home.js
β”‚   β”œβ”€β”€ init
β”‚   |   └── init.js
β”‚   β”œβ”€β”€ last
β”‚   |   └── init.js
β”‚   β”œβ”€β”€ middleware
β”‚   |   └── response_time.js
β”‚   β”œβ”€β”€ model
β”‚   |   └── xxx.js
|   β”œβ”€β”€ router.js
|   β”œβ”€β”€ error_handler.js (default error handler)

config

npm run dev attached config_dev.js

npm run prod attached config_dev.js

controller

Place concrete implementation of the restful

init && last

You can inject the initialization object into the app

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors