#Cors
2 notas · última:
How to Build a Rails 5 API Only and Backbone Application
The article walks through creating a Rails API-only backend, generating a Todo scaffold and serializer, then wiring a Backbone TODO app to the API with CORS enabled.
CORS in Phoenix
Explains why SPAs need a backend, how Phoenix serves as a JSON API, what CORS is, and how Phoenix plugs can add CORS headers while handling pre-flight OPTIONS requests.
