https://github.com/stepzen-dev/zenblog-devto-github
A blog built with Next.js using data from DEV.to and GitHub
https://github.com/stepzen-dev/zenblog-devto-github
Last synced: 8 months ago
JSON representation
A blog built with Next.js using data from DEV.to and GitHub
- Host: GitHub
- URL: https://github.com/stepzen-dev/zenblog-devto-github
- Owner: stepzen-dev
- License: mit
- Created: 2021-03-04T13:29:02.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-04T13:33:28.000Z (over 5 years ago)
- Last Synced: 2025-01-11T20:15:06.531Z (over 1 year ago)
- Language: JavaScript
- Size: 691 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a sample blog template that uses Next.js and Tailwind for the frontend and [StepZen](https://stepzen.com) for the backend API. It is based upon the [Tailwind Nextjs Starter Blog](https://github.com/timlrx/tailwind-nextjs-starter-blog/) by @timlrx.
The blog combines data coming from [DEV](https://dev.to) and GitHub into a single source. It pulls blog post content from DEV and author details, bio and projects from the GitHub API. You'll need to have accounts on both to customize this to your own. In addition, your DEV profile will need to have your GitHub username populated.
Here are the steps to use this as your own:
1. Copy and deploy the API using StepZen:
```bash
stepzen import devto-github
stepzen start api/zenblog
```
2. Within the site files, create a `.env.local` file with a `STEPZEN_API_KEY` value containing your StepZen API key and a `STEPZEN_API_URL` for the API above that you deployed.
3. Run the site. You should see your blog posts from DEV and your GitHub profile info.