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

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.

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`