Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burnworks/astrojs-mt-data-api-blog-sample
Creating jamstack blog sample using Astro.js and Movable Type Data API
https://github.com/burnworks/astrojs-mt-data-api-blog-sample
Last synced: about 2 months ago
JSON representation
Creating jamstack blog sample using Astro.js and Movable Type Data API
- Host: GitHub
- URL: https://github.com/burnworks/astrojs-mt-data-api-blog-sample
- Owner: burnworks
- License: mit
- Created: 2022-11-15T00:48:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-12T09:14:21.000Z (over 1 year ago)
- Last Synced: 2024-01-28T01:20:21.965Z (12 months ago)
- Language: Astro
- Size: 482 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# astrojs-mt-data-api-blog-sample
Creating jamstack blog sample using Astro.js and Movable Type Data API
## 解説記事
- [Astro.js と Movable Type Data API を使用して Jamstack な Blog を作ってみる - WWW WATCH](https://hyper-text.org/archives/2022/12/creating_jamstack_blog_astrojs_and_mt_data_api.shtml)
## Getting Started
```shell
git clone https://github.com/burnworks/astrojs-mt-data-api-blog-sample.git
cd blog
npm install
```### Edit .env.local
```shell
cp .env.local.sample .env.local
```Set the `SECRET_MT_ENDPOINT_URL` to your environment.
```
SECRET_MT_ENDPOINT_URL=https://example.com/path_to_MT/mt-data-api.cgi/v4/sites/{site_id}/
```### Dev
```shell
npm run dev
```## Demo
CodeSandbox: https://codesandbox.io/s/astrojs-mt-data-api-blog-sample-w2h1h8