andrewwood2 / acebook-gazelle

AceBook project deployment
https://damp-beyond-18538.herokuapp.com/posts
Other
0 stars 2 forks source link

Rails to api2 #95

Closed andrewwood2 closed 6 years ago

andrewwood2 commented 6 years ago

Converts the rails app into an API. INSTALLED JSON WEB TOKEN AUTHORIZATION. Returns json files for most things. Still some work to go. Been doing it in tandem with what I can test in the front end. Using active_model_serializers rather than jbuilder as seemed easier and sufficient. Removes old views and tests. Adds CORS permissions so we can cross-origin request.