codedesign-webapp / pwa-example

โ˜•๏ธ This is the complete sample code for the book 'Do it! Making Progressive Web Apps'. ๐Ÿช 'Do it! ํ”„๋กœ๊ทธ๋ ˆ์‹œ๋ธŒ ์›น์•ฑ ๋งŒ๋“ค๊ธฐ' ์ฑ…์˜ ์‹ค์Šต ์™„์„ฑ ์†Œ์Šค์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hits





"Do it! ํ”„๋กœ๊ทธ๋ ˆ์‹œ๋ธŒ ์›น์•ฑ ๋งŒ๋“ค๊ธฐ" ์ฑ… ์‹ค์Šต ์†Œ์Šค์ฝ”๋“œ




1. ์˜ˆ์ œ ํŒŒ์ผ ์†Œ๊ฐœ

์ด ๊ณณ์€ 'Do it! ํ”„๋กœ๊ทธ๋ ˆ์‹œ๋ธŒ ์›น์•ฑ ๋งŒ๋“ค๊ธฐ' (์ด์ง€์Šคํผ๋ธ”๋ฆฌ์‹ฑ, ๊น€์‘์„ ์ €) ์ฑ… ์‹ค์Šต์˜ˆ์ œ ์™„์„ฑ ์†Œ์Šค์ฝ”๋“œ ์›๊ฒฉ์ €์žฅ์†Œ(Repository) ์ž…๋‹ˆ๋‹ค.

  • ๋ฒ„์ „์— ์ƒ๊ด€ ์—†์ด ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ์™„์„ฑ๋œ ์†Œ์ŠคํŒŒ์ผ๊ณผ ์ฑ… ๋‚ด์šฉ์— ๋”ฐ๋ผ ์ง์ ‘ ๋”ฐ๋ผํ•ด ๋ณผ ์ˆ˜ ์žˆ๋Š” ํ”„๋กœ์ ํŠธ ํ…œํ”Œ๋ฆฟ(boilerplate)์ด ์ค€๋น„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

์ฑ…์— ๋Œ€ํ•œ ์ž์„ธํ•œ ์†Œ๊ฐœ๋Š” ์•„๋ž˜ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ•˜์„ธ์š”.


2. ์˜ˆ์ œ๋กœ ์‹ค์Šตํ•  ์ˆ˜ ์žˆ๋Š” 14๊ฐ€์ง€ ํ•ต์‹ฌ ์ฃผ์ œ

์ด ์ฑ…์— ์‹ค๋ฆฐ ๋‹ค์–‘ํ•œ ์‹ค์Šต์„ ๋”ฐ๋ผ ํ•˜๋‹ค ๋ณด๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ 14๊ฐ€์ง€ ํ•ต์‹ฌ ์ฃผ์ œ๋ฅผ ์ž์—ฐ์Šค๋Ÿฝ๊ฒŒ ํ„ฐ๋“ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ ๊ธฐ์ˆ ์€ ๋ชจ๋˜ ์›น๊ณผ ๋ชจ๋ฐ”์ผ ์•ฑ์„ ๊ฐœ๋ฐœํ•  ๋•Œ ํ•„์ˆ˜์ด๋ฏ€๋กœ ํ”„๋ŸฐํŠธ์—”๋“œ ๊ฐœ๋ฐœ์ž๋กœ ์„ฑ์žฅํ•˜๋Š” ๋ฐ ํญ๋„“์€ ๊ฒฝํ—˜์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

1. ES6+ ํ•„์ˆ˜ ๊ธฐ๋Šฅ
2. ๋ทฐ, ๋ทฐํ‹ฐํŒŒ์ด ๊ธฐ์ดˆ & ๊ณ ๊ธ‰
3. ๊ตฌ๊ธ€ ๋จธํ‹ฐ๋ฆฌ์–ผ ๋””์ž์ธ ์ŠคํŽ™ 2
4. ๋ฐ˜์‘ํ˜• ์›น ํ”„๋กœ๊ทธ๋ž˜๋ฐ
5. ํŒŒ์ด์–ด๋ฒ ์ด์Šค ์‹ค์‹œ๊ฐ„ DB
6. ์›Œํฌ๋ฐ•์Šค ๋Ÿฐํƒ€์ž„ ์บ์‹œ
7. ๋ชจ๋ฐ”์ผ ํ•˜๋“œ์›จ์–ด ์ œ์–ด
8. ์ด๋ฉ”์ผ-๊ตฌ๊ธ€ ์ธ์ฆ
9. ํ‘ธ์‹œ ์•Œ๋ฆผ
10. ์˜คํ”„๋ผ์ธ ๋™๊ธฐํ™”
11. ์•„ํŒŒ์น˜ ์ฝ”๋ฅด๋„๋ฐ”๋กœ ํ•˜์ด๋ธŒ๋ฆฌ๋“œ ์•ฑ ๋งŒ๋“ค๊ธฐ
12. PWA โ†’ ๋„ค์ดํ‹ฐ๋ธŒ ์•ฑ ๋ณ€ํ™˜
13. ๊ตฌ๊ธ€ ํ”Œ๋ ˆ์ด ์Šคํ† ์–ด์— ๋ฐฐํฌ
14. ์„œ๋ฒ„๋ฆฌ์Šค ํ”„๋กœ๊ทธ๋ž˜๋ฐ

3. ์‚ฌ์šฉ ๋„๊ตฌ

  • ์†Œ์Šค์ฝ”๋“œ ํŽธ์ง‘๊ธฐ : ๋น„์ฃผ์–ผ์ŠคํŠœ๋””์˜ค ์ฝ”๋“œ

4. ์‚ฌ์šฉ๋ฐฉ๋ฒ•


๋‹ค์šด๋กœ๋“œ ๋ฐฉ๋ฒ•


  • ๊นƒํ—ˆ๋ธŒ ์‚ฌ์šฉ์ด ์ฒ˜์Œ์ด์‹  ๋ถ„๋“ค์€ [Code] - [Download ZIP] ๋ฒ„ํŠผ์„ ์„ ํƒํ•˜๋ฉด ์••์ถ•๋œ ZIP ํŒŒ์ผ์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.


  • ๊นƒํ—ˆ๋ธŒ ๊ณ„์ •์„ ๊ฐ€์ง€๊ณ  ๊ณ„์‹œ๋ฉด ์šฐ์ธก ์ƒ๋‹จ์˜ [Fork] ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ์ž์‹ ์˜ ๊ณ„์ •์œผ๋กœ ๋ณต์ œ๋ฉ๋‹ˆ๋‹ค.


  • ๊นƒํ—ˆ๋ธŒ ์‚ฌ์šฉ์— ์ต์ˆ™ํ•˜์‹  ๋ถ„๋“ค์€ git clone ๋ช…๋ น์œผ๋กœ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์•„ ์‚ฌ์šฉํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

    git clone https://github.com/codedesign-webapp/pwa-example
    

ํด๋” ์ด๋ฆ„

  • ํด๋” ์ด๋ฆ„์ด ex01-01์€ 1์žฅ์˜ ์ฒซ๋ฒˆ์งธ ์˜ˆ์ œ๋ผ๋Š” ์˜๋ฏธ์ž…๋‹ˆ๋‹ค. ์™„์„ฑ๋œ ์†Œ์Šค์ฝ”๋“œ๊ฐ€ ๋“ค์–ด ์žˆ์Šต๋‹ˆ๋‹ค.
  • ํด๋” ์ด๋ฆ„์ด ex05-07_start๋Š” ์‹œ์ž‘ํ•  ๋•Œ ํ™œ์šฉํ•˜๋Š” ํ”„๋กœ์ ํŠธ ํ…œํ”Œ๋ฆฟ์„ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. start ํด๋”๋ฅผ ์—ด์–ด ์ฑ… ์„ค๋ช…์— ๋งž์ถฐ์„œ ์†Œ์Šค์ฝ”๋“œ๋ฅผ ์ž…๋ ฅํ•˜๋ฉฐ ํ•™์Šตํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

5. ์งˆ์˜ ์‘๋‹ต๊ณผ ์ตœ์‹  ์†Œ์‹ ์ œ๊ณต

์ฑ…์„ ์ฝ๋‹ค๊ฐ€ ๊ถ๊ธˆํ•œ ์ ์€ ์ด์ง€์Šคํผ๋ธ”๋ฆฌ์‹ฑ ํ™ˆํŽ˜์ด์ง€๋‚˜ ์ €์ž๊ฐ€ ์ง์ ‘ ์šด์˜ํ•˜๋Š” 'CODE*DESIGN ์›น์•ฑ' ์ปค๋ฎค๋‹ˆํ‹ฐ ์นดํŽ˜์— ์งˆ๋ฌธํ•ด ๋ณด์„ธ์š”. ๋˜ํ•œ ์นดํŽ˜์—์„œ๋Š” ํ”„๋กœ๊ทธ๋ ˆ์‹œ๋ธŒ ์›น์•ฑ ๊ด€๋ จ ์ตœ์‹  ์†Œ์‹๋„ ๋งŒ๋‚  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.


๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.



CODE*DESIGN ์›น์•ฑ : https://CODE-DESIGN.web.app

'CODE*DESIGN ์›น์•ฑ'์€ PWA ํ”„๋กœ๊ทธ๋ ˆ์‹œ๋ธŒ ์›น์•ฑ์˜ ๊ฐœ๋ฐœ๊ณผ UIUX ๋””์ž์ธ ๋ฐฉ๋ฒ•์˜ ์Šคํ„ฐ๋””๋ฅผ ์œ„ํ•œ ์ปค๋ฎค๋‹ˆํ‹ฐ ์นดํŽ˜์ž…๋‹ˆ๋‹ค.









"Do it! Making Progressive Web Apps" Book Practice Source Code




1. Introduction to sample files

This is a source code repository for practicing examples of the book which is 'Do it! Making Progressive Web Apps' (Easys Publishing, Eungsuk Kim).

  • A complete source file that can be executed regardless of version and a project template(boilerplate) that can be followed directly according to the contents of the book are prepared.

For a detailed introduction to the book, please refer to the link below.


2. 14 key topics to practice with examples

By following the various examples in this book, you can naturally master the 14 key topics: These skills are essential when developing modern web and mobile apps, giving you a broad experience in growing as a front-end developer.

1. ES6+ essential features
2. Basic & Advanced for Vue.js, Vuetify.js
3. Google Material Design Specification 2
4. Responsive Web Programming
5. Firebase real-time DB
6. Workbox runtime cache
7. Mobile hardware control
8. Email-Google authentication
9. Push Notification
10. Offline synchronization
11. Making hybrid apps with Apache Cordova
12. PWA โ†’ Native App Conversion
13. Publishing on Google Play Store
14. Serverless Programming

3. Tools

  • Source Code Editor: Visual Studio Code

4. How to use


How to download


  • If you are new to GitHub, click the [Code]-[Download ZIP] button to download the compressed ZIP file.


  • If you have a GitHub account, click the [Fork] button in the upper right corner to duplicate your account.


  • If you are familiar with GitHub, you can download it with the git clone command.

    git clone https://github.com/codedesign-webapp/pwa-example
    

Folder name

  • The folder name ex01-01 means that it is the first example in Chapter 1. It contains the completed source code.
  • The folder name ex05-07_start means the project template(boilerplate) used when starting. You can learn by opening the start folder and entering the source code according to the description of the book.

5. Q&A and the latest news

If you have any questions while reading a book, ask the Easys Publishing homepage or 'CODE*DESIGN web app' community cafe operated by the author. Especially in cafe, you can also find the latest news related to Progressive Web Apps.


Thank you.



CODE*DESIGN web app: https://CODE-DESIGN.web.app

'CODE*DESIGN Web App' is a internet community cafe for PWA Progressive Web App development and UI/UX design method studies.




About

โ˜•๏ธ This is the complete sample code for the book 'Do it! Making Progressive Web Apps'. ๐Ÿช 'Do it! ํ”„๋กœ๊ทธ๋ ˆ์‹œ๋ธŒ ์›น์•ฑ ๋งŒ๋“ค๊ธฐ' ์ฑ…์˜ ์‹ค์Šต ์™„์„ฑ ์†Œ์Šค์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.


Languages

Language:Java 79.4%Language:Vue 8.5%Language:JavaScript 5.3%Language:HTML 4.2%Language:Objective-C 2.0%Language:C# 0.6%