Skip to content
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

[chore] Custom Local Dev Server #6

Merged
merged 11 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ on:
required: true

env:
DEVELOP_REPOSITORY: 16th-team2-FE-develop
PRODUCTION_REPOSITORY: 16th-team2-FE-production
DEVELOP_REPOSITORY: Took-FE-develop
PRODUCTION_REPOSITORY: Took-FE-production

jobs:
variable:
Expand Down
43 changes: 12 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,17 @@
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).
## ๐Ÿ›  Development Setup

## Getting Started
### Local Host

First, run the development server:
- localhost ๋ฅผ http์—์„œ https๋กœ ์„ค์ •ํ•˜๋Š” ๊ณผ์ •์ž…๋‹ˆ๋‹ค.

> ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ํ”„๋กœ์ ํŠธ root์—์„œ ์ˆœ์„œ๋Œ€๋กœ ์‹คํ–‰ํ•˜๊ณ , ์•ˆ๋‚ด์— ๋”ฐ๋ผ ํ™˜๊ฒฝ ์„ธํŒ…์„ ์ด์–ด๊ฐ€์ฃผ์„ธ์š”.
>
> (๋งŒ์•ฝ ๋ณธ์ธ์˜ ์žฅ๋น„์— brew๊ฐ€ ์„ค์น˜๋˜์–ด ์žˆ์ง€ ์•Š๋‹ค๋ฉด, [์ด ๊ณผ์ •](https://brew.sh/)์„ ํ†ตํ•ด brew๋ฅผ ๋จผ์ € ์„ค์น˜ํ•ด์ฃผ์„ธ์š”.)

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
$ brew install mkcert
$ mkcert -install
$ pnpm i
$ pnpm run setup
$ pnpm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

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.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

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.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
2 changes: 1 addition & 1 deletion cspell.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"words": [""],
"words": ["took"],
"ignorePaths": ["pnpm-lock.yaml", "**/node_modules/**", "**/dist/**", "**/build/**", ".git/**"]
}
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"name": "my-app",
"name": "Took-FE",
"version": "0.1.0",
"private": true,
"scripts": {
"prepare": "husky install",
"dev": "next dev",
"setup": "sh scripts/setup.sh",
"dev": "node scripts/https-local-server.js",
"build": "next build",
"start": "next start",
"lint": "next lint",
"type-check": "tsc --noEmit"
},
"dependencies": {
"next": "14.2.23",
"react": "^18",
"react-dom": "^18",
"next": "14.2.23"
"react-dom": "^18"
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.50.1",
Expand All @@ -24,6 +25,7 @@
"@typescript-eslint/parser": "^7.1.0",
"@vercel/style-guide": "^5.2.0",
"cspell": "^8.10.0",
"dotenv": "^16.4.7",
"eslint": "^8",
"eslint-config-next": "14.2.23",
"eslint-config-prettier": "^9.1.0",
Expand Down
Loading