-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from MEGUMMY1/master
Docs: Readme update
- Loading branch information
Showing
1 changed file
with
174 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,190 @@ | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
# π GLOBAL_NOMAD | ||
<div align="center"> | ||
https://globalnomad-5-8.netlify.app/ | ||
</div> | ||
|
||
## Getting Started | ||
## π‘ μλΉμ€ μκ° | ||
<div align="center"> | ||
<img src="https://github.com/user-attachments/assets/55a9c18b-0f8a-4012-bfca-914a4c2f86db" alt="image" width="600"/> | ||
<br> <br> | ||
|
||
First, run the development server: | ||
> μ¬λλ€μ΄ μ¬νμΒ κ° λ,Β κ°μ λ ν μ§, λΉμ©μΒ μΌλ§μΈμ§ λ±Β μ¬λ¬ κ³ λ―Όμ νκ² λλ€. <br> | ||
λ°μ νλμΈμ μ΄λ° κ³ λ―Όμ μ€μ¬μ£ΌκΈ° μν΄Β νλ«νΌ μμΒ μΒ μ§μΈΒ <br>체ν μνμ λ³΄κ³ κ°λ¨νκ² μμ½ν μ μλ μλΉμ€μ λλ€. | ||
<br> | ||
</div> | ||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
## π« νμ | ||
<div align="center"> | ||
|
||
| μ΄λ¦ | μν | | ||
|------------|--------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| π» [ν©μμ§](https://github.com/eunji-0623)<br>γ[πPM]| - λ΄ μ²΄ν λͺ©λ‘ νμ΄μ§<br>- 체ν λ±λ‘ λ° μμ Form ꡬν<br>- λ¬Έμ μ±ν ꡬν | | ||
| π« [κΉλ³΄λ―Ό](https://github.com/bomin0830) | - λ‘κ·ΈμΈ/νμκ°μ νμ΄μ§<br>- access/refresh token λ° μ μ κ΄λ¦¬<br>- λ§μ΄νμ΄μ§ - μμ½ λ΄μ νμ΄μ§ ꡬν<br>- νμ΄μ§ λ³ λ©νλ°μ΄ν° κ΄λ¦¬<br>- 체ν 곡μ νκΈ° | | ||
| π [λ°μλ―Ό](https://github.com/ssumai-kr) | - λ©μΈνλ©΄ ꡬν<br>- μ΅κ·Ό λ°©λ¬Έ 체ν λͺ©λ‘ ꡬν<br>- μΉ΄ν κ³ λ¦¬ μ ν, λ€ν¬λͺ¨λ ν κΈ λ²νΌ, κ²μ λ²νΌ μ»΄ν¬λνΈ | | ||
| π [μ μ§μ±](https://github.com/Byukchong) | - μ μ νλ‘ν<br>- SideNavigation<br>- Navigation Bar<br>- λ§μ΄ νμ΄μ§ - λ΄ μ 보<br>- νλ‘μ νΈ λ°ν | | ||
| π [μ‘°νμ§](https://github.com/MEGUMMY1) | - Modal, Popup, Pagination, Footer μ»΄ν¬λνΈ<br>- 체ν μμΈ νμ΄μ§<br>- μμ½ νν© νμ΄μ§<br>- λ€ν¬λͺ¨λ ν λ§ κ΅¬ν | | ||
|
||
</div> | ||
|
||
## π§βπ» κ°λ° νκ²½ | ||
<div align="center"> | ||
<img src="https://github.com/user-attachments/assets/9eecd07b-f981-4231-a37d-0e1e87ed554d" alt="image" width="600"/> | ||
</div> | ||
|
||
## π 컨벀μ | ||
<details> | ||
<summary>컨벀μ </summary> | ||
|
||
* ν¨μλͺ , λ³μλͺ μ **Camel Case**λ‘ μμ±ν©λλ€. | ||
* μ»΄ν¬λνΈλͺ μ **Pascal Case**λ‘ μμ±ν©λλ€. | ||
* μ»΄ν¬λνΈλͺ μ **μΌλ° ν¨μ**λ‘, μ΄μΈ ν¨μλ **νμ΄ν ν¨μ**λ₯Ό μ¬μ©ν©λλ€. | ||
* TYPEμ **INTERFACE**λ‘ μ μν©λλ€. | ||
* κ³΅ν΅ νμ μ λ°λ‘ κ΄λ¦¬νλ, ν μ»΄ν¬λνΈμμλ§ μ¬μ©λλ νμ μ ν΄λΉ ν΄λμμ κ΄λ¦¬ν©λλ€. | ||
* TYPE νμΌλͺ μ `COMPONENT.types.ts` λ‘ μ ν©λλ€. | ||
* TYPE μ΄λ¦μ `COMPONENT+βpropsβ` λ‘ μ ν©λλ€. | ||
* PRλͺ μ `νκ·Έ: 컀λ°μ€λͺ `μΌλ‘ μ ν©λλ€. | ||
|
||
</details> | ||
|
||
## π οΈ CI/CD | ||
* github actionsλ₯Ό νμ©ν΄μ μ§μμ ν΅ν© λ° λ°°ν¬ | ||
* κ°μΈ λΈλμΉμμ λ³κ²½ μ¬νμ Pushνλ©΄, CIκ° λμλλ€. | ||
* κ°μΈ λΈλμΉμμ masterλ‘ Pull Requestλ₯Ό 보λ΄λ©΄, CIκ° λμλκ³ build errorκ° μμ΄μΌ Mergeκ° λλ€. | ||
* Mergeκ° λλ©΄, μ΄μ 리μμ€μ λ°°ν¬λλ€. | ||
|
||
## ποΈ νλ‘μ νΈ κ΅¬μ‘° | ||
|
||
<details> | ||
<summary>νλ‘μ νΈ κ΅¬μ‘°</summary> | ||
|
||
``` | ||
π¦GlobalNomad | ||
β£ πcomponents | ||
β β£ πActivityDetails | ||
β β β£ πImageContainer | ||
β β β£ πMap | ||
β β β£ πReservation | ||
β β£ πAuthInputBox | ||
β β£ πButton | ||
β β£ πCalendar | ||
β β£ πCatergoryBtn | ||
β β£ πChat | ||
β β£ πChips | ||
β β£ πCustomCalendar | ||
β β£ πInputBox | ||
β β£ πKategorieDropdown | ||
β β£ πLander | ||
β β£ πLayout | ||
β β£ πMetaData | ||
β β£ πModal | ||
β β£ πMyActivity | ||
β β β£ πCard | ||
β β β πRegister | ||
β β£ πMyPageInput | ||
β β£ πNavigationDropdown | ||
β β£ πPagination | ||
β β£ πPopup | ||
β β£ πPriceFilterBtn | ||
β β£ πReservationFilter | ||
β β£ πReservationListCard | ||
β β£ πReview | ||
β β£ πSearchBar | ||
β β£ πShareButton | ||
β β£ πSideNavigation | ||
β β£ πSpinner | ||
β β£ πStatusIndicator | ||
β β£ πTheme | ||
β β πViewedActivities | ||
β£ πdocs | ||
β β πpull_request_template.md | ||
β£ πhooks | ||
β£ πpages | ||
β β£ πactivity-details | ||
β β β π[id].tsx | ||
β β£ πapi | ||
β β β£ πactivities | ||
β β β£ πauth | ||
β β β£ πmyActivities | ||
β β β£ πmyNotifications | ||
β β β£ πmyReservations | ||
β β β£ πusers | ||
β β£ πmyactivity | ||
β β£ π404.tsx | ||
β β£ πcalendar.tsx | ||
β β£ πindex.tsx | ||
β β£ πlogin.tsx | ||
β β£ πmypage.tsx | ||
β β£ πreservation.tsx | ||
β β£ πsignup.tsx | ||
β β£ π_app.tsx | ||
β β π_document.tsx | ||
β£ πpublic | ||
β β£ πicon | ||
β β£ πimage | ||
β β πfavicon.ico | ||
β£ πserver | ||
β£ πstates | ||
β£ πstyles | ||
β πutils | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
</details> | ||
|
||
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. | ||
## ποΈ μμ° | ||
<div align="center"> | ||
|
||
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. | ||
### [λ‘κ·ΈμΈ] | ||
![login](https://github.com/user-attachments/assets/803476ca-40ec-465f-901f-1334222fe6d4) | ||
### [λ©μΈνλ©΄1] | ||
![landing](https://github.com/user-attachments/assets/78827ceb-355c-436b-9b95-c3fc52e26754) | ||
### [λ©μΈνλ©΄2] | ||
![landing2](https://github.com/user-attachments/assets/ef194c13-2aca-46f9-ae60-2d95c2712315) | ||
### [μμ½ λ΄μ] | ||
![reservationlist](https://github.com/user-attachments/assets/dc1ef0c8-ed93-4110-8eeb-c7baf834a01e) | ||
### [체ν λ±λ‘] | ||
![register](https://github.com/user-attachments/assets/e1d3855b-ec05-406b-80f2-49205dae2ff5) | ||
### [λ¬Έμ μ±ν , 체ν μμ ] | ||
![chatnedit](https://github.com/user-attachments/assets/7e152993-4d72-420c-89db-cc02f1632c0f) | ||
### [μμ½ νν©, μλ¦Ό] | ||
![calendarnnoti](https://github.com/user-attachments/assets/40298133-dcbb-49de-be1c-0cebfd467ec4) | ||
### [체ν μμΈ] | ||
![activity](https://github.com/user-attachments/assets/1839fbdf-3d09-4bd4-9e5c-e8fe9d44f540) | ||
### [λͺ¨λ°μΌ λ°μν] | ||
![mobile](https://github.com/user-attachments/assets/3bf9d537-1bc2-498a-9958-5dd05649b22e) | ||
|
||
</div> | ||
|
||
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. | ||
## π€ νκ³ | ||
<details> | ||
<summary>β KEEP</summary> | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
- μν λΆλ΄μ΄ μ λμκ³ , 맑μ μμ μ μΆ©μ€ν μνμ¬μ νλ‘μ νΈ μ§νμ΄ λ§€λλ¬μ λ€. | ||
- μν΅μ΄ μν νμ¬ λ°μν μ΄μλ 곡μ μ¬νλ€μ μ λ¬ν¨μ μμ΄ μ΄λ €μμ΄ μμλ€. | ||
- μΆκ° κΈ°λ₯λ€μ κ³ λ €νκ³ μΆκ°ν¨μ μμ΄μ μ΄μ μ μ΄λ€. | ||
- κ°μΈ ννΈ λΏλ§ μλλΌ μ 체μ μΈ νλ‘μ νΈ μμ±λλ₯Ό μν΄μ λ Έλ ₯νλ€. | ||
- μ견μ λ€μνκ² μ λ΄μ£Όμ λ€. λ¬Έμ μν© λ°μ μ λ³ΈμΈμ΄ μμ ν λΆλΆμ΄ μλλλΌλ ν¨κ» ν΄κ²°νλ €κ³ λ Έλ ₯νλ€. μ΄μλ μμ μν© κ³΅μ λ₯Ό μν΄μ£Όμ λ€. | ||
- μ½μ΄ νμμ μ ν΄ ν¨κ» μμ νλ©΄μ μννκ² μν΅ν μ μμλ€. ν λ―Έν κ³Ό λ Έμ μ ν΅ν΄ κ°μ μμ μμ κΈ°κ°μ 곡μ νκ³ , κ·Έ κΈ°κ° λ΄μ μμ μ μλ£ν¨μΌλ‘μ¨ μ»΄ν¬λνΈ, hook νμ©μ΄ 맀λλ¬μ κ³ , νλ‘μ νΈλ₯Ό λΉ λ₯΄κ² μμ±ν μ μμλ€. | ||
- νμ λͺ¨λκ° λ¦¬ν©ν λ§κ³Ό κΈ°λ₯ μΆκ° λΆλΆμμλ μ κ·Ήμ μΌλ‘ μ°Έμ¬νμλ€. λ€μν μ견μ μ μνκ³ νΌλλ°±μ μ μμ©νλ€. | ||
- λͺ¨λκ° μ½μ΄νμμ μ§μ€νκ³ μ± μκ° μκ² μ°Έμ¬νμ¬ κ°λ° μλμ μμ±λκ° κ΅μ₯ν λμ μ μμλ€. | ||
|
||
## Learn More | ||
</details> | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
<details> | ||
<summary>β TRY</summary> | ||
|
||
- [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. | ||
- λ€λ₯Έ νμλΆλ€μ΄ μμ ν λΆλΆμ μ΄λ»κ² ꡬννλμ§ κ³΅μ μκ°μ κ°λ κ²λ μ’μ κ² κ°λ€. | ||
- μ£Όμ μ΄μ¬ν λ¬κΈ° (νΉν 곡μ©μΌλ‘ μμ£Ό μ¬μ©λλ hook κ°μ κ²λ€!) | ||
- μ΄μμ ν΄κ²° λ°©λ²μ λν λ΄μ©μ μ 리ν΄λμμΌλ©΄ μ’μμ κ±° κ°λ€. | ||
- μꡬμ¬νμ λ°λ₯Έ ν μ€νΈμ μ¬μ©μ μ€μ¬μ νλ¦ κΈ°λ° ν μ€νΈλ₯Ό μλν΄λ³΄λ κ² μ’μμ κ² κ°μ΅λλ€. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
</details> | ||
|
||
## Deploy on Vercel | ||
<details> | ||
<summary>β PROBLEM</summary> | ||
|
||
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/deployment) for more details. | ||
</details> |