-
Can be very nice to add this, it will prevent user to commit with eslint errors and then fail on Travis...
Maybe we can use https://www.npmjs.com/package/precommit-hook-eslint
-
Hi,
When I create a Policy with `yo` : `yo trails:policy Auth` or `yo trails:policy AuthPolicy`, it's create me a file named `api/policies/Auth.js` with `AuthPolicy` class. In `api/policies/index.js…
-
I see there was discussion in #8 about template engines. It would be very helpful to have some documentation about where the views files go.
In **config/views.js** the comments point to `http://trai…
-
Add a deployment section with :
- General :
- Think about disabling trailpack-repl for security reason
- Host must be set to your hostname (or 0.0.0.0) in config/web.js for Express
- on Heroku:
…
-
https://github.com/trailsjs/generator-trailpack/blob/master/src/app/util.js#L12-L80
-
#### Issue Description
I use trailpack-sequelize and trailpack-express v5 (chosen during setup) and using a mysql database.
I can run my project without docker and it just works as expected, but when…
-
I see that I must configure my view engine in **config/views.js**. What is that configuration object supposed to look like?
Also where do my html (or ejs or jade) templates go? What is the convention…
-
when I access : PUT: /api/v1/{model}/{id}, it doesn't call the individual hooks from the model : beforeCreate and beforeUpdate. But when I access POST: /api/v1/{model} for creating a new one, it calls…
-
This is pretty basic but I would appreciate the help! I create a new application using express 4 and mongoose with trails.js. I got the following error (see below).
I see that I probably need to con…
-
I've had a little bit more time to investigate this which I orginally reported here:
https://github.com/trailsjs/trails/issues/210
When dumping the options that are passed into the got library, it se…