https://github.com/barbarbar338/vite-react-blog-template
Blog template made with Vite, React, Tailwind, and TypeScript. Depends on GitHub Discussions.
https://github.com/barbarbar338/vite-react-blog-template
blog blogging react react-router reactjs tailwind tailwindcss template vite vitejs
Last synced: 2 months ago
JSON representation
Blog template made with Vite, React, Tailwind, and TypeScript. Depends on GitHub Discussions.
- Host: GitHub
- URL: https://github.com/barbarbar338/vite-react-blog-template
- Owner: barbarbar338
- License: gpl-3.0
- Created: 2022-09-18T10:54:13.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T10:41:03.000Z (over 3 years ago)
- Last Synced: 2025-06-11T09:08:43.958Z (about 1 year ago)
- Topics: blog, blogging, react, react-router, reactjs, tailwind, tailwindcss, template, vite, vitejs
- Language: TypeScript
- Homepage: https://vite-react-blog-template.vercel.app
- Size: 196 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🥸 Vite React Blog Template
- Blog template made with Vite, React, Tailwind, and TypeScript.
- Blog server depends on GitHub Discussions, see how It works [here (TR)](https://338.rocks/blog/post/14/).
- See [Live Demo here](https://vite-react-blog-template.vercel.app/)!
# 🤓 Setup
- Clone repo:
- Clone using git: `git clone https://github.com/barbarbar338/vite-react-blog-template`
- Clone using gh: `gh repo clone barbarbar338/vite-react-blog-template`
- Use template button on GitHub
- Download dependencies:
- Using npm: `npm install`
- Using yarn: `yarn`
- Create `.env` file and fill it with your GitHub token:
- Create a GitHub token with `read:discussion` scope
- Set your token in `.env` file: `VITE_GITHUB_TOKEN=ghp_MyToken`
- Edit `src/utils/config.ts` file and fill it with your information.
- Run app:
- Using npm: `npm run dev`
- Using yarn: `yarn dev`