Support the ongoing development of Laravel.io →
Authentication Session Architecture

Hi,

I would like to develop a single page app using Angular as front end while Laravel responsible for back-end API. I'm thinking about few criteria.

  1. What will be the folder structure? should I maintain single repo for back-end and front-end code though both connected via only API?

  2. We use session, .. to recognize users. Since only my app will consume the REST API, so can I built Recognition and Authentication without implementing OAuth 2? if so then how, would you please share your thoughts?

Thanks

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.