Skip to content

Commit 0bc27f5

Browse files
authored
Merge pull request #8 from Open-Chess/development
Development merge
2 parents df2299e + e48e528 commit 0bc27f5

31 files changed

+319
-465
lines changed

.github/OpenChess-250px.png

24.6 KB
Loading

.github/OpenChess-banner.png

563 KB
Loading

.github/OpenChess.png

68.3 KB
Loading

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ rust-project.json
6262
# End of https://www.toptal.com/developers/gitignore/api/nextjs,rust,rust-analyzer
6363

6464
/secrets
65-
openings
65+
/openings/
66+

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"typescript.tsdk": "node_modules/typescript/lib"
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"remote.autoForwardPortsFallback": 0
34
}

Cargo.toml

Lines changed: 0 additions & 18 deletions
This file was deleted.

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
1-
# 💻OpenChess
1+
<p align="center">
2+
<img style="height:150px;" src=".github/OpenChess.png">
3+
</p>
4+
5+
<h1 align="center">OpenChess</h1>
26

37
## 🚀 소개
48

5-
체스 오프닝을 찾아볼 수 있는 사이트입니다. 스스로 수를 둬서 찾을 수도 있고, `PGN`, `FEN`을 사용해서 찾아볼 수도, 게임 링크로 찾아볼 수도 있습니다. 오프닝 이름이 무엇인지만을 알려주는 것이 아닌, `설명``이후 전개`, `바리에이션`, `유저 승률`, 해당 오프닝의 `유명 경기`, `관련 콘텐츠` 등을 제공합니다.
9+
체스 오프닝을 찾아볼 수 있는 사이트입니다. 스스로 수를 둬서 찾을 수도 있고, `PGN`, `FEN`을 사용해서 찾아볼 수도, 게임 링크로 찾아볼 수도 있습니다.
10+
11+
오프닝 이름이 무엇인지만을 알려주는 것이 아닌, `설명``이후 전개`, `바리에이션`, `유저 승률`, 해당 오프닝의 `유명 경기`, `관련 콘텐츠` 등을 제공합니다.
612

713
## 🛠️ 기술 스택
814

9-
![Next.js](https://img.shields.io/badge/Next.js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white) ![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&logo=typescript&logoColor=white) ![Rust](https://img.shields.io/badge/Rust-000000?style=for-the-badge&logo=rust&logoColor=white) ![TailwindCSS](https://img.shields.io/badge/TailwindCSS-06B6D4?style=for-the-badge&logo=tailwindcss&logoColor=white) ![supabase](https://img.shields.io/badge/supabase-3FCF8E?style=for-the-badge&logo=supabase&logoColor=white)
15+
![Next.js](https://img.shields.io/badge/Next.js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white) ![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&logo=typescript&logoColor=white) ![Rust](https://img.shields.io/badge/Rust-000000?style=for-the-badge&logo=rust&logoColor=white) ![TailwindCSS](https://img.shields.io/badge/TailwindCSS-06B6D4?style=for-the-badge&logo=tailwindcss&logoColor=white) ![supabase](https://img.shields.io/badge/supabase-3FCF8E?style=for-the-badge&logo=supabase&logoColor=white) ![prisma](https://img.shields.io/badge/prisma-000000?style=for-the-badge&logo=prisma&logoColor=white)
1016

1117
| **Category** | **Stack** |
1218
| :-----------: | :---------------------: |
1319
| **Front-end** | `TypeScript`, `Next.js` |
1420
| **Styling** | `TailwindCSS` |
15-
| **Database** | `supabase` |
21+
| **Database** | `prisma`, `supabase` |
1622
| **Backend** | `Rust` |
1723

1824
## 💻 설치 방법
@@ -47,9 +53,3 @@ npm run build
4753
# 또는
4854
bun build
4955
```
50-
51-
## 👥 팀원
52-
53-
| **Name** | **Position** |
54-
| :----------: | :----------: |
55-
| **RedBe-an** | `All jobs` |

api/crab.rs

Lines changed: 0 additions & 14 deletions
This file was deleted.

bin/sync-openings.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ async function syncOpenings() {
4848
for (const entry of matchingEntries) {
4949
await prisma.opening.update({
5050
where: {
51-
52-
urlName: entry.urlName,
53-
pgn: entry.pgn,
51+
urlName: entry.urlName,
52+
pgn: entry.pgn,
5453
},
5554
data: {
5655
mdx: publicUrl,
@@ -68,4 +67,4 @@ async function syncOpenings() {
6867
}
6968
}
7069

71-
syncOpenings();
70+
syncOpenings();

build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
cd ../
3+
mkdir output
4+
cp -R ./OpenChess/* ./output
5+
cp -R ./output ./OpenChess/

0 commit comments

Comments
 (0)