Skip to content

subeenpark-io/MailHaneunGamja

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

267 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Β Β  Β  Β 

λ§ν•˜λŠ” 감자πŸ₯” - made by μ›”κΈ‰λ‘λ°°λ°›λŠ”λ²•

ServiceMain

λ©œν•˜λŠ” 감자의 기획 μ˜λ„


예기치 λͺ»ν•˜κ²Œ κΈΈμ–΄μ§„ μ½”λ‘œλ‚˜ μ‚¬νƒœλ‘œ 인해 κ°€μ‹œλ°­κΈΈ λŒ€ν•™μƒν™œμ„ ν•˜κ³  μžˆλŠ” λŒ€ν•™μƒλ“€μ΄ 점점 λŠ˜μ–΄λ‚˜λŠ” μš”μ¦˜πŸ˜’ μ„œλΉ„μŠ€ λ©œν•˜λŠ” κ°μžλŠ” κ΅μˆ˜λ‹˜κ»˜ 메일을 보내렀고 창만 μ—΄λ©΄ λ§ν•˜λŠ” κ°μžκ°€ λ˜μ–΄λ²„λ¦¬λŠ” μˆ˜λ§Žμ€ λŒ€ν•™μƒλ“€μ„ μœ„ν•΄ λ§Œλ“€μ–΄μ‘ŒμŠ΅λ‹ˆλ‹€. λ©œν•˜λŠ” 감자 λŠ” μ œμž‘μž @subeenpark-io , @HoYoungChun, @ksiyeon27, @seoljiwon 와 κ·Έ μ£Όλ³€μΈλ“€μ˜ λˆˆλ¬Όμ –μ€ 메일듀을 기반으둜 λ§Œλ“€μ–΄μ‘ŒμœΌλ©°, μ΅œμ†Œν•œμ˜ μž…λ ₯을 톡해 κ΅μˆ˜λ‹˜μ—κ²Œ 보낼 수 μžˆλŠ” μ˜ˆμ˜λ°”λ₯Έ λ©”μΌβœ‰οΈμ„ λšλ”±! λ§Œλ“€μ–΄μ£ΌλŠ” μ›Ήμ„œλΉ„μŠ€μž…λ‹ˆλ‹€. μˆ˜μ—…, 성적, λ©΄λ‹΄ 문의 λ“± κ΅μˆ˜λ‹˜κ»˜ 보낼 λ‹€μ–‘ν•œ 메일을 μ‰½κ²Œ μž‘μ„±ν•΄λ³΄μ„Έμš”!

μ‚¬μš©λœ κΈ°μˆ λ“€


* Server - Β Β 

* Client -

* 그리고...

μ‹€ν–‰ 방법

μ€€λΉ„ 사항

  • NodeJS - v14.17.4
  • Azure Functions Core Tools : v3.0.3477
  • npm - v6.14.14
  • Azure Static Web App CLI - v0.6.1
  • Azure 계정
  • GitHub 계정
  • VSCode Azure Static Web App & Azure Functions extension
  • Azure Cosmos DB Instance μ°Έκ³  와 κ·Έ PRIMARY CONNECTION STRING

λ‘œμ»¬μ—μ„œ μ‹€ν–‰ν•˜λŠ” 법

settings(DB setting)

{BASE_DIR}/api/local.settings.json

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "",
    "FUNCTIONS_WORKER_RUNTIME": "node",
    "DATABASE_CONNECTION_STRING": {YOUR AZURE DB PRIMARY CONNECT STRING}
  },
  "Host": {
    "CORS": "*"
  }
}

shell1 - svelte μ‹€ν–‰

git clone https://github.com/double-salary/MailHaneunGamja.git
cd MailHaneunGamja
cd svelte-app
npm install
npm run dev

shell2 - api μ‹€ν–‰ (μ‹œμž‘ directory : MailHaneunGamja)

cd api
npm install
func start

shell3 - swa μ‹€ν–‰ (μ‹œμž‘ directory : MailHaneunGamja)

cd api
swa start http://localhost:5000 --api ./api 

접속

http://localhost:4280/둜 접속

GitHub Actionsλ₯Ό μœ„ν•œ 배포

  1. Azure 계정에 둜그인
  2. ν¬νƒˆμ— 접속, create a resourceλ₯Ό λˆ„λ₯Έλ‹€.
  3. Static Web App을 검색해 선택 ν›„ create을 λˆ„λ₯Έλ‹€.
  4. 각쒅 μ˜΅μ…˜μ„ μ„ νƒν•œ ν›„ Sign in with GitHubλ₯Ό 눌러 인증을 μ§„ν–‰ν•œλ‹€.
    • Subscription - {본인 계정},
    • Resource Group - {CosmosDB와 같은 κ·Έλ£Ή}
    • Plan type - {free}
    • Azure Functions and staging details - {West US 2}
    • Source - {GitHub}
  5. μΈμŠ€ν„΄μŠ€ 접속 ν›„ Configurationμ—μ„œ DATABASE_CONNECTION_STRING을 λ“±λ‘ν•œλ‹€.
  • 이 λ ˆν¬μ§€ν† λ¦¬λŠ” 2021 HackaLearn μ°Έκ°€λ₯Ό μœ„ν•΄ λ§Œλ“€μ–΄μ§„ μ„œλΉ„μŠ€ λ§ν•˜λŠ” 감자의 μ½”λ“œλ₯Ό λ‹΄κ³  μžˆμŠ΅λ‹ˆλ‹€.
  • This repository is about 'MailingPotato', the web service for 2021 HackaLearn.
  • 이 λ ˆν¬μ§€ν† λ¦¬λŠ” Azure Static Web App Template을 μ΄μš©ν•΄ λ§Œλ“€μ–΄μ‘ŒμŠ΅λ‹ˆλ‹€.

About

No description, website, or topics provided.

Resources

License

CC-BY-4.0, MIT licenses found

Licenses found

CC-BY-4.0
LICENSE
MIT
LICENSE-CODE

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Svelte 83.1%
  • CSS 8.0%
  • JavaScript 7.1%
  • SCSS 1.6%
  • HTML 0.2%