Skip to content

Instantly share code, notes, and snippets.

@merciba
Created August 31, 2016 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merciba/f72f7dd0f910e7eb46a21eaf8fed9f32 to your computer and use it in GitHub Desktop.
Save merciba/f72f7dd0f910e7eb46a21eaf8fed9f32 to your computer and use it in GitHub Desktop.
{
"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"
}
}
@merciba
Copy link
Author

merciba commented Aug 31, 2016

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, and public are overridable using the CLI; simply use the appropriate flag prepended with --.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment