UNPKG

sails-api-jwt

Version:

An example implementation of JWT-based API for user registration and authorization.

27 lines (21 loc) 856 B
/** * Development environment settings * * This file can include shared settings for a development team, * such as API keys or remote database passwords. If you're using * a version control solution for your Sails app, this file will * be committed to your repository unless you add it to your .gitignore * file. If your repository will be publicly viewable, don't add * any private information to this file! * */ module.exports = { jwt_secret: 'SECRET123' /*************************************************************************** * Set the default database connection for models in the development * * environment (see config/connections.js and config/models.js ) * ***************************************************************************/ // models: { // connection: 'someMongodbServer' // } };