Others Integration

Integrate Beatrice with other frameworks, CMS, or static site generators using generic REST API calls for flexible publishing.

Why Use Beatrice with Any Tech Stack?

Beatrice works with any technology that supports REST API calls. You can fetch your SEO-optimized articles and integrate them seamlessly, whether you use Laravel, Ruby on Rails, Astro, SvelteKit, Nuxt, or plain HTML sites.


Generic Implementation Example

  1. Make a GET request to fetch all articles:
GET https://api.beatrice.com/api/articles?token=YOUR_TOKEN
  1. Loop through articles in your backend or frontend to render titles, slugs, meta descriptions, and content.

  2. Use ISR or caching if your framework supports it (e.g. Nuxt ISR, Astro SSR) to maximize SEO and performance.


  • Laravel: Fetch articles in Controllers and pass to Blade views.
  • Astro: Use fetch in getStaticPaths and get route handlers for static generation.
  • Nuxt 3+: Use useFetch or server routes with ISR enabled.
  • Rails: Fetch and cache articles in controllers, save to database if needed.

Example Astro Snippet

```js

import { fetch } from 'astro';

const res = await fetch('https://api.beatrice.com/api/articles?token=YOUR_TOKEN'); const { data } = await res.json(); ---

    {data.map(article => (
  • {article.title}
  • ))}

---

## Conclusion

Beatrice gives you the flexibility to integrate with any tech stack for:

- Automated SEO content publishing
- Fresh, structured articles ready to render
- No lock-in to a specific framework