Create an Angular 7 + Google Authenticator + Node JS Web App with Two-Factor Authentication


관련 자료

https://hackernoon.com/create-an-angular-7-google-authenticator-node-js-web-app-with-two-factor-authentication-95e87af9356b

 

Create an Angular 7 + Google Authenticator + Node JS Web App with Two-Factor Authentication

“Turn on all security features like two-factor authentication. People who do that generally don’t get hacked. Don’t care? You will when…

hackernoon.com

https://github.com/Narendra-Kamath/angular-node-mfauth

 

Narendra-Kamath/angular-node-mfauth

Contribute to Narendra-Kamath/angular-node-mfauth development by creating an account on GitHub.

github.com

https://youtu.be/iZlpQg6F3LY

 



 

Angular 7 애플리케이션에서 Two-Factor 인증의 통합을 입증하는 간단한 웹 애플리케이션을 소개합니다.

 

SPA에서 구글 계정 연동하여 사용자 정보를 가져올 수 있습니다.

 

 

GraphQL In .NET Core Web API With Entity Framework Core


관련 자료

https://www.c-sharpcorner.com/article/graphql-in-net-core-web-api-with-entity-framework-core-part-one/

 

GraphQL In .NET Core Web API With Entity Framework Core - Part One

In this article, we will see how GraphQL works with Entity Framework Core and is exposed through Web API in .NET Core.

www.c-sharpcorner.com

https://fullstackmark.com/post/17/building-a-graphql-api-with-aspnet-core-2-and-entity-framework-core

 

Building a GraphQL API with ASP.NET Core 2 and Entity Framework Core

GraphQL is a relatively new technology developed initially at Facebook and open-sourced to the world in 2015. In 2017, it really took off and made the leap from a cool, niche technology to one of the primary ways companies like Walmart and IBM are starting

fullstackmark.com

https://medium.com/shemseddine-on-code/setup-a-graphql-api-using-asp-net-core-79f1b88f6ad8

 

Setup a GraphQL API using ASP.NET Core

A short guide on how to setup your own GraphQL API using ASP .NET Core

medium.com

https://medium.com/volosoft/building-graphql-apis-with-asp-net-core-419b32a5305b

 

Building GraphQL APIs with ASP.NET Core

Building and consuming GraphQL in your .NET application

medium.com

https://docs.microsoft.com/ko-kr/aspnet/web-api/overview/odata-support-in-aspnet-web-api/odata-v4/create-an-odata-v4-endpoint

 

ASP.NET Web API 2.2 사용 하 여 OData v4 엔드포인트 만들기

Open Data Protocol (OData)는 웹에 대 한 데이터 액세스 프로토콜. OData 쿼리 및 CRUD 작업을 통해 데이터 집합을 조작할 일관 된 방식으로 제공 하는 중...

docs.microsoft.com

https://medium.com/@FourwingsY/graphql%EC%9D%84-%EC%98%A4%ED%95%B4%ED%95%98%EB%8B%A4-3216f404134

 

 

GraphQL을 오해하다

이번엔 GraphQL을 처음 접한 순간부터, 토이 프로젝트(서버)를 만드는 동안 내가 겪었던 착오와 오해, 햇갈렸던 개념들을 복습해보고자 한다. GraphQL이 대체 뭔가 하는 질문에 대해서는 다른 글을 보길 바란다. GraphQL을 전혀 모르는…

medium.com

https://velopert.com/2318

 

GraphQL 강좌 1편: GraphQL이 무엇인가? | VELOPERT.LOG

최근 페이스북에서 만든 어플리케이션 레이어 쿼리 언어인 GraphQL 이 공식릴리즈되어 여기저기서 적용한 사례가 생기고있죠 (페이스북은 원래부터 사용하고있었고, 대표적으로 갓 GitHub..) 이 GraphQL 이 뭔지, 이게 왜 필요한건지, 기존의 방식과 뭐가 달라지는건지, 한번 갈피를 잡아봅시다. GraphQL 강좌 1편: GraphQL이 무엇인가? 소개 GraphQL 은 페이스북에서 만든 어플리케이션 레이어 쿼리 언어입니다. 기존의 웹 혹은 모바일

velopert.com

 

 



 

 위키백과에서는 다음과 같이 설명하고 있다.

 GraphQL은 페이스북이 2012년에 개발하여 2015년에 공개적으로 발표된 데이터 질의어이다. 그래프QL은 REST 및 부속 웹서비스 아키텍쳐를 대체할 수 있다. 클라이언트는 필요한 데이터의 구조를 지정할 수 있으며, 서버는 정확히 동일한 구조로 데이터를 반환한다. 

 쉽게 풀이하면 하나의 앤드포인트에서 내가 원하는 스키마(데이터 컬럼 양)로 데이터를 가져올 수 있다. Web API로 개발하면 클라이언트에서 사용하지 않는 데이터가 포함되어 내려갈 수 있지만, GraphQL에서는 필요한 데이터만 요청하고 사용하기 때문에 서버 리소스나, 네트워크 리소스를 절약할 수 있게 되고, 무엇보다 장점이 데이터의 종류에 맞게 대응되는 컨트롤러를 만들 필요 없이 하나의 주소에서 호출하여 사용할 수 있도록 할 수 있다.

 

 

[그림1] GraphQL 개념도

 

electron-vue를 이용한 데스크탑앱 만들기


관련 자료

https://github.com/SimulatedGREG/electron-vue

 

SimulatedGREG/electron-vue

An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack. - SimulatedGREG/elect...

github.com

https://simulatedgreg.gitbooks.io/electron-vue/content/ko/

 

Introduction · electron-vue

vue로 구축 된 electron 애플리케이션을 만들기 위한 보일러 플레이트 개요 이 프로젝트의 목적은 vue를 사용하여 Electron 앱을 수동으로 설정해야 할 필요성을 없애는 것 입니다. electron-vue은 스캐폴딩(발판)을 위한 vue-cli, vue-loader이 있는 webpack, electron-packager 또는 electron-builder, vue-router, vuex 등과 같이 가장 많이 사용되는 플러그인을 사용합니다. Ch

simulatedgreg.gitbooks.io

 



vue로 구축 된 electron 애플리케이션을 만들기 위한 보일러 플레이트 저장소를 소개한다. Electron은 javascript로 크로스 플랫폼을 지원하는 데스크탑앱을 만들도록 지원하는 프레임워크이다. HTML과 javascript만 있으면 시작할 수 있으나 기초공사부터 다시 하면 너무나 많은 작업을 해줘야 한다. 이때 Electron-Vue의 보일러플레이트 사용하면 기초 작업 없이 바로 데스크탑앱을 개발 할 수 있다.

 

[그림1] Electron-Vue logo

 

Things you'll find in this boilerplate...

 

 

Cli를 통해 시작하기

# Install vue-cli and scaffold boilerplate
npm install -g vue-cli
vue init simulatedgreg/electron-vue my-project

# Install dependencies and run your app
cd my-project
yarn # or npm install
yarn run dev # or npm run dev

 

BootstrapVue


관련 자료

 

https://blog.logrocket.com/getting-started-with-bootstrapvue-2d8bf907ef11

 

Getting started with BootstrapVue

In this post, we will learn the basics of BootstrapVue, demonstrate the setup process and build out an example Vue.js project.

blog.logrocket.com

https://bootstrap-vue.js.org/

 

BootstrapVue

Quickly integrate Bootstrap 4 components with Vue.js

bootstrap-vue.js.org

https://github.com/bootstrap-vue/bootstrap-vue

 

bootstrap-vue/bootstrap-vue

BootstrapVue, with over 40 plugins and more than 75 components, provides one of the most comprehensive implementations of Bootstrap 4 components and grid system for Vue.js and with extensive and au...

github.com



 

 

Vue.js와 세계에서 가장 널리 사용되는 프런트 엔드 CSS 라이브러리 인 Bootstrap 4를 사용하여 웹에서 반응 형 모바일 우선 프로젝트를 구축하십시오.

BootstrapVue는 광범위하고 자동화 된 WAI-ARIA 액세스 가능성 마크 업을 갖춘 Vue.js 2.5+에서 사용할 수있는 가장 포괄적 인 Bootstrap V4 구성 요소 및 그리드 시스템 구현 중 하나를 제공합니다.

 

WAI-ARIA 

https://github.com/lezhin/accessibility/blob/master/aria/README.md

 

lezhin/accessibility

모두를 위한 설계. 레진 웹 접근성 가이드라인. Contribute to lezhin/accessibility development by creating an account on GitHub.

github.com

[그림1] BootstrapVue logo

 

BootstrapVue 시작하기

Vue.js를 사용하여 반응이 빠른 모바일 우선 사이트 구축을위한 Bootstrap V4를 시작하십시오.

  • Vue.js v2.5 is required, v2.6.10 is recommended
  • Bootstrap v4.3 is required, v4.3.1 is recommended
  • PortalVue v2.0 is required, v2.1.1 is recommended
  • jQuery is not required

 

Using module bundlers

...더보기

# With npm

npm i vue bootstrap-vue bootstrap

 

# With yarn

yarn add vue bootstrap-vue bootstrap

진입점에 아래 코드 삽입

// app.js
import Vue from 'vue'
import BootstrapVue from 'bootstrap-vue'

Vue.use(BootstrapVue)

Bootstrap and BootstrapVue css 파일 삽입

// app.js
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'

 

- Vue CLI 2 이용해서 시작하기

# Ensure Vue CLI is installed and up to date
npm i -g vue-cli

# Initialize a BootstrapVue project in the directory 'my-project'
vue init bootstrap-vue/webpack-simple my-project

# Change into the directory
cd my-project

# Install dependencies
npm i

# Fire up the dev server with HMR
npm run dev

 

 

아래 그림은 BootstrapVue에서 Form의 기본 예제로 화면에 띄운 그림이다.

[그림2] BootstrapVue form

 

 

 

 

Text Shadows를 쉽게 만들어 보자 - Trendy CSS, mixfont


관련 자료

 

 

Mixfont | A modern font generator

 

www.mixfont.com

https://www.mixfont.com/generate

 

Mixfont | A modern font generator

 

www.mixfont.com

https://www.mixfont.com/shadows )

 



 

 

글자 폰트와 그림자를 통해 세련된 페이지를 만들 수 있는 라이브러리이다. 

아래 그림들은 이 라이브러리를 이용해 만든 글자를 캡처해 보았다.

 

 

 

그리고 하이라이트 마지막으로 이 사이트에서 Generate(html, css, text)된 페이지를 만들어 주기 때문에 생각 없이 웹 페이지를 만들때 참고하여 빠르게 만들어 볼 수 있게 지원하고 있다.

https://www.mixfont.com/generate

 

Mixfont | A modern font generator

 

www.mixfont.com

위 링크를 타고 들어가면 바로 자동 생성된 페이지로 변환이 된다.

 

[그림] 자동 생성된 페이지 화면

 

색상 찾기 - 어울리는 색상을 찾아보자


관련 자료

 

 

Colordot - A color picker for humans

 

color.hailpixel.com

 

 

 



 

쉽고 간단하게 색상을 찾아주는 웹사이트이다. 색상을 고르기 어려울 때 이곳에서 마우스를 위아래로 움직이면서 색상을 고를 수 있게 되어 있다.

 

 

[그림] 색상을 선택하는 화면

브라우저에서 particle을 만들어 보자


관련 자료

https://vincentgarreau.com/particles.js/#default

 

particles.js - A lightweight JavaScript library for creating particles

A lightweight JavaScript library for creating particles.

vincentgarreau.com

 

 

 



 

 

웹을 개발하면서 인트로나, 로그인 페이지의 배경으로 particle을 이용해 꾸며볼 수 있다.

 

[그림] 웹에서 만들어진 particle

 

[그림] particle 옵션 설정 화면

 

RWDB - Responsive Web Design dB Web awards


관련 자료

 

 

RWDB

RWDB Responsive Web Design dB Web awards, 우수 하이브리드웹·반응형웹 모음 사이트

rwdb.kr

 

 

멀티미디어 작업을 위한 모든 소스 "Stock-Jo" - RWDB

RWDB Responsive Web Design dB Web awards, 우수 하이브리드웹·반응형웹 모음 사이트

rwdb.kr

 

 

Awesome Free Photos Stock Resources Collections Vectors Images

Collection of free stock Photography,Textures,Video,Mockups,Fonts ,Audio,Vectors and Graphics,Colours,Tools,Softwares,Web Resources & HTML Templates

www.stockjo.com

 



 

웹을 완성도 있게 개발하기 위해서 디자인과 UI/UX를 완숙하게 보여주는데 필요한 라이브러리(javascript 포함)를 공유하는 사이트다.

 

 

RWDB는?

모바일 퍼스트

2009년 이후 스마트폰과 태블릿이 확산되며 모바일 퍼스트가 웹사이트 제작이 핵심이 되었고, 새로운 기기의 해상도를 지원해야 하는 이슈가 발생하고 있습니다. 이러한 문제를 해결하기 위해 하나의 소스로 다양한 디바이스를 한번에 지원(One Source Multi Use )하는 반응형웹에 대한 관심이 증가하기 시작하였습니다.

반응형웹

반응형웹은 모바일부터 데스크탑까지 한 가지의 소스로 다양한 종류의 기기에 최적화된 화면을 보여 주는 웹 기술입니다. N-Screen 시대에 맞추어 화면이 자동으로 재배치되며, 모바일과 PC홈페이지를 하나로 운영할 수 있어 편리한 장점을 가지고 있습니다. 더불어, 하나의 URL을 갖고 있어 검색과 노출에 유리하다는 장점을 가지고 있습니다. 모바일, 타블렛PC, 데스크탑을 동시에 지원하는 반응형웹은 새로운 이슈에 가장 빠르고 정확하게 대응할 수 있는 주요 해결 방안이 되었습니다.

RWDB 는 국내 환경의 개선과 우리의 동료들 모두에게 긍정적인 경험을 제공하기 를 좋아합니다.

이러한 반응형 웹 디자인은 다양한 디바이스를 지원하고자 하는 기업의 핵심 해결방안이 되었고 성공사례도 다수 확인되었지만 다수의 국내 기업은 여전히 반응형 웹을 적용하는데 어려움을 겪고 있는 것이 엄연한 현실입니다. 반응형웹을 이미 많이 사용하고 있는 외국을 비롯하여, 국내정서에 맞게 반응형웹을 제작한 회사들을 소개하여 점차 One Source Multi Use의 세상이 되길 바랍니다.

 

 

웹 리소스를 공유하는 사이트다

https://www.stockjo.com/

 

링크된 사이트를 타고 들어가다 보면 오디오, 비디오, 아이콘 등등 웹을 화려하게 할 수 있는 여러가지 리소스를 확인할 수 있다.

nextjs - service side react framework


관련 자료

 

 

Next.js - The React Framework

Production grade React applications that scale. The world’s leading companies use Next.js to build server-rendered applications, static websites, and more.

nextjs.org

 

 

Getting Started

Install it: npm install --save next react react-dom and add a script to your package.json like this: { "scripts": { "dev": "next", "build": "next build", "start": "next start" } } After that, the file-system is the main API. Every .js file becomes a route

nextjs.org

 

 

https://blueshw.github.io/2018/04/15/why-nextjs/

 

blueshw.github.io

 



 

 

Nextjs

 

NextJS는 서버사이드렌더링(SSR)과 code splitting 등을 지원하는 reactjs 전용 프레임워크다. 아래에는 크게 네가지로 NextJS의 특징을 간략하게 모아 보았다.

1. Server-Side Rendering Done Right

Take the pain out of creating Universal React apps with Next.js

 

2. File-System routing

 

3. Automatic code splitting

4. Static exporting

Static Sites, No Compromise

 

5. More ...

 

preactjs - react의 subset, simple, lightweight library

Fast 3kB alternative to React with the same modern API


관련 자료

https://preactjs.com/

 

Preact: Fast 3kB alternative to React with the same modern API. Components & Virtual DOM.

 

preactjs.com

https://github.com/developit/preact/

 

developit/preact

⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM. - developit/preact

github.com

https://www.slant.co/versus/10513/15409/~react_vs_preact

 

Slant - React vs Preact detailed comparison as of 2019

Comparison of React vs Preact detailed comparison as of 2019 and their Pros/Cons

www.slant.co

 



 

 

A different kind of library.

Closer to the Metal

Preact provides the thinnest possible Virtual DOM abstraction on top of the DOM. The web is a stable platform, it's time we stopped reimplementing it in the name of safety.

Preact is also a first-class citizen of the web platform. It diffs Virtual DOM against the DOM itself, registers real event handlers, and plays nicely with other libraries.

Small Size

Most UI frameworks are large enough to be the majority of an app's JavaScript size. Preact is different: it's small enough that your code is the largest part of your application.

That means less JavaScript to download, parse and execute - leaving more time for your code, so you can build an experience you define without fighting to keep a framework under control.

Big Performance

Preact is fast, and not just because of its size. It's one of the fastest Virtual DOM libraries out there, thanks to a simple and predictable diff implementation.

It even includes extra performance features like customizable update batching, optional async rendering, DOM recycling, and optimized event handling via Linked State.

Portable & Embeddable

Preact's tiny footprint means you can take the powerful Virtual DOM Component paradigm to new places it couldn't otherwise go.

Use Preact to build parts of an app without complex integration. Embed Preact into a widget and apply the same tools and techniques that you would to build a full app.

Instantly Productive

Lightweight is a lot more fun when you don't have to sacrifice productivity to get there. Preact gets you productive right away. It even has a few bonus features:

  • props, state and context are passed to render()
  • Use standard HTML attributes like class and for
  • Works with React DevTools right out of the box

Ecosystem Compatible

Virtual DOM Components make it easy to share reusable things - everything from buttons to data providers. Preact's design means you can seamlessly use thousands of Components available in the React ecosystem.

Adding a simple preact-compat alias to your bundler provides a compatibility layer that enables even the most complex React components to be used in your application.

 

 

[그림1] preactjs logo

 

preact의 목표

Preact는 몇 가지 주요 목표를 달성하는 것을 목표로합니다.

성능 : 빨리고 효율적으로 렌더링
크기 : 작은 크기, (3.5kb 약) 경량
효율성 : 효과적인 메모리 사용 (재활용, GC 쓰레기 방지)
이해 : 코드베이스를 이해하는 데 몇 시간 이상 걸리지 않아야합니다.
호환성 : Preact는 반작용 API와 대부분 호환되도록하는 것을 목표로하고있다. preact-compat은 가능한 한 React와 많은 호환성을 달성하려고 시도합니다.

+ Recent posts