Skip to content

release: v0.0.1 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 20, 2025
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,30 @@
これは、Next.js、GraphQL、Prismaで構築されたモダンなTODOアプリケーションです。
このアプリケーションはクリーンアーキテクチャの原則に従い、タスクとユーザーを管理するための堅牢なAPIを提供します。

## Table of Contents

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
<details>
<summary>Details</summary>

- [技術スタック](#%E6%8A%80%E8%A1%93%E3%82%B9%E3%82%BF%E3%83%83%E3%82%AF)
- [API ドキュメント](#api-%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88)
- [GraphQLスキーマ](#graphql%E3%82%B9%E3%82%AD%E3%83%BC%E3%83%9E)
- [API操作](#api%E6%93%8D%E4%BD%9C)
- [認証](#%E8%AA%8D%E8%A8%BC)
- [ページネーション](#%E3%83%9A%E3%83%BC%E3%82%B8%E3%83%8D%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3)
- [アーキテクチャ](#%E3%82%A2%E3%83%BC%E3%82%AD%E3%83%86%E3%82%AF%E3%83%81%E3%83%A3)
- [始め方](#%E5%A7%8B%E3%82%81%E6%96%B9)
- [デフォルトアカウント](#%E3%83%87%E3%83%95%E3%82%A9%E3%83%AB%E3%83%88%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88)
- [一般ユーザー](#%E4%B8%80%E8%88%AC%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC)
- [管理者](#%E7%AE%A1%E7%90%86%E8%80%85)
- [AI実装について](#ai%E5%AE%9F%E8%A3%85%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6)
- [詳細情報](#%E8%A9%B3%E7%B4%B0%E6%83%85%E5%A0%B1)

</details>
<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## 技術スタック

- **フロントエンド**: App Routerを使用したNext.js
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"name": "bun-nextjs-graphql",
"version": "0.1.0",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"dev": "bun run migrate && bun run seed && next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "npx --yes @biomejs/biome lint ./src",
"lint:fix": "npx --yes @biomejs/biome lint --write ./src",
"format": "npx --yes @biomejs/biome format ./src",
"format:fix": "npx --yes @biomejs/biome format --write ./src",
"check": "npx --yes @biomejs/biome check ./src",
"check:fix": "npx --yes @biomejs/biome check --write ./src",
"check:unsafe": "npx --yes @biomejs/biome check --write --unsafe ./src",
"typecheck": "tsc --noEmit",
"dev": "bun run migrate && bun run seed && next dev --turbopack",
"format": "npx --yes @biomejs/biome format ./src",
"format:fix": "npx --yes @biomejs/biome format --write ./src",
"lint": "npx --yes @biomejs/biome lint ./src",
"lint:fix": "npx --yes @biomejs/biome lint --write ./src",
"migrate": "prisma migrate deploy && prisma generate",
"migrate:reset": "rm -rdf ./src/server/frameworks/database/prisma/migrations && rm -f ./src/server/frameworks/database/prisma/*.db && prisma migrate dev --name init",
"prepare": "if [ ! -f .env ]; then cp .env.sample .env; fi && prisma generate && bun run migrate",
"seed": "npx --yes tsx src/server/frameworks/database/prisma/seed/index.ts",
"start": "next start",
"test": "bun test",
"test:cov": "bun test --coverage",
"test:e2e": "bun test $(find ./src -name \"*.e2e-spec.ts\" -print0 | xargs -0 -J '{}' echo {}) --preload ./src/server/shared/test/setup.e2e.ts",
"test:server": "source .env.test && NODE_ENV=test next dev -p $PORT --turbopack",
"migrate": "prisma migrate deploy && prisma generate",
"migrate:reset": "rm -rdf ./src/server/frameworks/database/prisma/migrations && rm -f ./src/server/frameworks/database/prisma/*.db && prisma migrate dev --name init",
"seed": "npx --yes tsx src/server/frameworks/database/prisma/seed/index.ts",
"update": "npx --yes npm-check-updates -u --timeout 100000 && bun install",
"prepare": "if [ ! -f .env ]; then cp .env.sample .env; fi && prisma generate && bun run migrate"
"typecheck": "tsc --noEmit",
"update": "npx --yes npm-check-updates -u --timeout 100000 && bun install"
},
"dependencies": {
"@apollo/client": "^3.13.8",
Expand Down
Loading