user1013129
user1013129

Reputation: 123

How to build a REST API in Laravel 4 and add users

I am working with Laravel 4 attempting to build a REST API. I have to create a resourceful controller, model, and associated views for managing multiple api consumers. I want each api consumer to (at a minimum) have attributes for api_key and shared_secret. I have been reading Jeremy Kendall's page on Query Auth @ http://jeremykendall.net/2013/08/13/api-query-authentication-with-query-auth/. I am getting very confused. I do not understand where everything should go.

Upvotes: 3

Views: 10225

Answers (2)

assertchris
assertchris

Reputation: 161

Here's a tutorial on user authentication: https://medium.com/on-coding/e8d93c9ce0e2

Here's one on ACL: https://medium.com/on-coding/a7f2fa1f9791

And here's one on REST API's in L4: https://medium.com/on-coding/c643022433ad

Upvotes: 7

Junaid Qadir Shekhanzai
Junaid Qadir Shekhanzai

Reputation: 1425

I'd suggest you to watch the What’s New in Laravel 4 series before doing any commando action.

Upvotes: 2

Related Questions