generator-sails-rest-api is maintained by ghaiklor. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, IN NO EVENT SHALL THEĪUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,įITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR The above copyright notice and this permission notice shall be included in allĬopies or substantial portions of the Software. To use, copy, modify, merge, publish, distribute, sublicense, and/or sellĬopies of the Software, and to permit persons to whom the Software isįurnished to do so, subject to the following conditions: ![]() In the Software without restriction, including without limitation the rights Of this software and associated documentation files (the "Software"), to deal Permission is hereby granted, free of charge, to any person obtaining a copy Google, Yandex, FreeGeoIP and a lot of othersĭirect, sendmail, SMTP, SES and a lot moreĪpple Push Notifications, Google Cloud MessagingĬopyright (c) 2015 Eugene Obrezkov aka ghaiklor Bunch of Sails adapters is already declared in connections configuration file so you can easily swap between them įirst of all, you need install yeoman and generator-sails-rest-api:Ĭongratulations, you just have setup your first Sails REST API Bundled Sails services Service Name.Simple declaring of cron tasks via config/cron.js.Winston logger with logging to console and DailyRotateFile is enabled by default. ![]() In a nutshell, all what optimize HTTP performance Implemented useful express middleware like Connection: keep-alive and GZip compression.All configuration files cleaned up and optimized for REST API.You can check table with detailed list of implemented services below Bundle of ready-2-use services like CipherService, PusherService (Push Notifications), SmsService and so on.Custom responses which respond with code (Status Code), message (Status Message) and data (Response Data) fields.Implemented policy isAuthenticated which inject user in req via JSON Web Token checking.Integrated Passport with Facebook, Twitter, VKontakte, GitHub, Instagram, Google Plus and other social networks, JWT and Local authorization strategies.Already declared User model with most used fields.PingController allows to you quickly check if server is alive and can respond.AuthController allows to you make signin\signup via email\password.Implemented AuthController, PingController and UserController.Overrides default blueprints which simplify CRUD operation in REST API and add new features like fields in requests.Automatically parses the whole project AST for used dependencies and install them.Flexible questions that allow to you quickly configure database connections, services that you want to use, etc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |