Integrating Backend API with Tea Stack Front-End (TailwindCSS, Eleventy, AlpineJS)

136 views Asked by At

In my new project, I'm learning about new front-end frameworks and libraries and found the Tea Stack (TailwindCSS, Eleventy, AlpineJS). I really liked the idea of this minimal stack (I have very little experience with React and VueJS).

The problem is that besides that I have a back-end server (web server API) and now I need to integrate this back-end (for login authentication, get data for the pages, ...) with the front-end (Tea Stack).

What frameworks and/or libraries am I missing? That could be integrated alongside with what I already have and follows the same idea of a minimalist approach. Since I already have a back-end I didn't want a full stack framework like NodeJS, Laravel, React, ...

I already look some interesting libs like Axios for API access, but it seems that will not be enough for handling the authentication (login page, restriction of pages before login). And for store some sensitive data access of some APIs (like user/pass for fetch authenticated data).

0

There are 0 answers