Created
August 31, 2016 07:40
-
-
Save merciba/f72f7dd0f910e7eb46a21eaf8fed9f32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"port": 9091, | |
"name": "Paquet", | |
"public": "./public", | |
"middleware": "./middleware.js", | |
"routes": { | |
"get": "./controllers/get.js", | |
"post": "./controllers/post.js", | |
"put": "./controllers/put.js", | |
"patch": "./controllers/patch.js", | |
"delete": "./controllers/delete.js" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an example
paquet.json
. It goes in your project's root, and specifies where to find the controllers you will be using with the Paquet CLI.port
,name
,middleware
, andpublic
are overridable using the CLI; simply use the appropriate flag prepended with--
.