Skip to content

Commit ee96c81

Browse files
authored
Dev to Main merge (#176)
2 parents 0a08e3e + 33dc81b commit ee96c81

File tree

409 files changed

+196238
-4097
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

409 files changed

+196238
-4097
lines changed

β€Ž.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @hoon95

β€Ž.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## πŸ“Œ 이슈 번호
2+
3+
## ✨ μž‘μ—… λ‚΄μš©
4+
5+
- μž‘μ—… 1
6+
- μž‘μ—… 2
7+
8+
## βœ… 체크리슀트
9+
10+
- [ ] μ½”λ“œκ°€ μ •μƒμ μœΌλ‘œ λ™μž‘ν•˜λŠ”μ§€ ν™•μΈν–ˆμŠ΅λ‹ˆλ‹€.
11+
- [ ] κ΄€λ ¨λœ ν…ŒμŠ€νŠΈλ₯Ό μΆ”κ°€ν•˜κ±°λ‚˜ μˆ˜μ •ν–ˆμŠ΅λ‹ˆλ‹€.
12+
- [ ] λ¬Έμ„œν™”κ°€ ν•„μš”ν•œ 경우 λ¬Έμ„œλ₯Ό μ—…λ°μ΄νŠΈν–ˆμŠ΅λ‹ˆλ‹€.
13+
14+
## πŸ“Έ μŠ€ν¬λ¦°μƒ·(선택)
15+
16+
## πŸ’¬ 기타 μ°Έκ³  사항

β€Ž.github/images/1.png

356 KB
Loading

β€Ž.github/images/cover.png

774 KB
Loading

β€Ž.github/workflows/auto-deploy.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "auto-deploy for dev"
2+
3+
on:
4+
push:
5+
branches: [ "dev" ]
6+
7+
jobs:
8+
build:
9+
runs-on: [self-hosted, sikshare-server]
10+
11+
steps:
12+
- name: Build Next.js Project
13+
run: echo "Build Next.js Project"
14+
15+
test:
16+
runs-on: [self-hosted, sikshare-server]
17+
18+
steps:
19+
- name: Test Next.js Project
20+
run: echo "Test Next.js Project"
21+
22+
deploy:
23+
runs-on: [self-hosted, sikshare-server]
24+
25+
steps:
26+
- name: Deploy Next.js Project
27+
run: /home/sikshare/www/sik-share/next-app-update.sh
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Daily Dummy Seeder
2+
3+
on:
4+
schedule:
5+
- cron: '0 15 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
seed-dummy-data:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: 18
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Generate Prisma Client
25+
run: npx prisma generate
26+
27+
28+
- name: Run daily dummy seeder
29+
run: npx tsx --no-check --tsconfig tsconfig.seed.json seeds/seed-daily.ts
30+
env:
31+
DATABASE_URL: ${{ secrets.DATABASE_URL }}

β€Ž.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,13 @@ yarn-error.log*
3939
# typescript
4040
*.tsbuildinfo
4141
next-env.d.ts
42+
43+
# prisma
44+
/prisma/generated
45+
46+
# deploy
47+
next-app-update.sh
48+
49+
#pwa
50+
/public/sw.js
51+
/public/workbox-*.js

β€Ž.vscode/settings.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"editor.defaultFormatter": "Biome.biome",
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll": "explicit"
6+
},
7+
"[javascript]": {
8+
"editor.defaultFormatter": "Biome.biome"
9+
},
10+
"[typescript]": {
11+
"editor.defaultFormatter": "Biome.biome"
12+
},
13+
"[typescriptreact]": {
14+
"editor.defaultFormatter": "biomejs.biome"
15+
},
16+
"[json]": {
17+
"editor.defaultFormatter": "Biome.biome"
18+
},
19+
"[markdown]": {
20+
"editor.defaultFormatter": "Biome.biome"
21+
},
22+
"notebook.formatOnSave.enabled": true
23+
}

β€ŽREADME.md

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,5 @@
1-
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
1+
<img src=".github/images/cover.png">
22

3-
## Getting Started
3+
<br />
44

5-
First, run the development server:
6-
7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
15-
```
16-
17-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18-
19-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20-
21-
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
22-
23-
## Learn More
24-
25-
To learn more about Next.js, take a look at the following resources:
26-
27-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29-
30-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
31-
32-
## Deploy on Vercel
33-
34-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35-
36-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
5+
<img src=".github/images/1.png">
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import NextAuth from 'next-auth';
2+
import { authOptions } from "@/lib/authOptions";
3+
4+
const handler = NextAuth(authOptions);
5+
export { handler as GET, handler as POST };

0 commit comments

Comments
Β (0)