https://github.com/hiro0218/b.0218.jp
blog
https://github.com/hiro0218/b.0218.jp
blog github-actions nextjs react typescript
Last synced: about 1 year ago
JSON representation
blog
- Host: GitHub
- URL: https://github.com/hiro0218/b.0218.jp
- Owner: hiro0218
- Created: 2018-12-28T00:24:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-10T16:07:32.000Z (about 1 year ago)
- Last Synced: 2025-04-10T17:58:58.332Z (about 1 year ago)
- Topics: blog, github-actions, nextjs, react, typescript
- Language: TypeScript
- Homepage: https://b.0218.jp
- Size: 34.5 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# b.0218.jp
This repository contains the source code for `b.0218.jp`, a web application built using Next.js and TypeScript. Article data is stored in a separate repository and loaded through a submodule.
## Technologies used
- [Next.js](https://nextjs.org/)
- [TypeScript](https://www.typescriptlang.org/)
- [Panda CSS](https://panda-css.com/)
Article data is managed in a separate repository and loaded via submodule.
## Preparing for development
Before you begin development, make sure to prepare the .env file with the following contents:
```ini
TZ=Asia/Tokyo
GITHUB_GRAPHQL_TOKEN="GitHub Token"
NEXT_PUBLIC_GA_MEASUREMENT_ID="Google Analytics ID"
```
You need to run `prebuild` because you need to pre-build the markdown files.
```
npm run prebuild
```
However, if you have run `npm run build` beforehand, you do not need to run `npm run prebuild`.
### Development
To start the Next.js development server, run the following command:
```
npm run dev
```
### Production build
To execute the Next.js build for production, run the following command:
```
npm run build
```
---
## Repository Stats
