Skip to content

Research and Documentation Links

Will Paul edited this page Sep 28, 2015 · 7 revisions

Just a collection of reference material as we move forward. Feel free to add more links/sections.

Example Sails apps

Boiler plate for an API only Sails application (uses Angular as an example frontend)

Sails token based authentication example repo

Example of how to test a Sails application

Relevant Sails articles

Token-based authentication

Learn JSON Web Tokens

JWT authentication intro and Sails/Rails implementation

JWT security issues to keep in mind

Token vs Cookie based auth

Authentication with passport for single page apps

Devops

Deploying Sails to Heroku notes

General

SailsCast

Libraries to Consider

Testing

Sinon - General purpose testing library, gives spies and stubs/mocks as well as fake timers, XHR, and servers.

Barrels - DB fixture loading for Waterline with associations, so we can pre-populate a test DB (probably in memory) with some data.

Supertest - testing library for HTTP requests

Sockets

Socket.io Redis - Redis for socket sessions

Clone this wiki locally