An open API service indexing awesome lists of open source software.

https://github.com/palmiak/statamicrest

Example showing how to use Astro together with headless Statamic.
https://github.com/palmiak/statamicrest

astro rest-api statamic

Last synced: 6 months ago
JSON representation

Example showing how to use Astro together with headless Statamic.

Awesome Lists containing this project

README

          

[![How to connect headless Statamic with Astro](https://user-images.githubusercontent.com/2342458/187889820-501f1bb7-986d-4e87-8191-0349827efe8d.png)](https://buddy.works/guides/statamic-rest-api)
# How to connect headless Statamic with Astro

This is a repository used in this [guide](https://buddy.works/guides/statamic-rest-api).

## Instalation

1. Fill out the `.env.example` file and change it's name to `.env`.
2. Run

```bash
npm install
npm run build
```

## Related links

- [Astro](https://astro.build)
- [Deploying Astro using Buddy](https://docs.astro.build/en/guides/deploy/buddy/)
- [Statamic](https://statamic.com/)
- [Astro's Basics](https://buddy.works/guides/introduction-to-astro)
- [Introduction to Statamic](https://buddy.works/guides/introduction-to-statamic)