dev + it dev python msa An Authentication Pattern for microservices using DjangoHow can we design the authentication for microservices written in Django following one of its main principles ? Most of early stage APIs are developed using a monolithic architecture, meaning that… wono | discuss | tweet + it dev flutter jwt [Flutter] Token Login / Auth 구현하기Token Login / Auth 구현하기 https://nx006.tistory.com/64 Session VS Token Authentication - feat. JWT 기술 Authentication 앱을 만들 때 회원가입/로그인 기능을 구현해야 할 때가 있습니다. 인증 및 인가된 사용자에게 앱의 기능을 사용할 수 있게 하기 위해서는, 로그인이라는 Authentication(인증) 기능을 거 nx006.tistory.com 이전 글에서 Session 로그인과 Token Login 방식에 대해서 알아봤습니다. 이번 글에서는 어떻게 하면 Flutter에서 Token 로그인 방식을 관리할 수 있는지, 클라이언트 관점에서 구현해보겠습니다. 이 방법은 코드팩토리 님의 Flutter 강의를 듣고서 정리한 글입.. wono | discuss | tweet + it dev spring jwt GitHub - caglayantolga/springboot-role-based-jwt-security-rest-api: Sample project on how to implement JWT security role based using Spring boot 3 and Spring security 6Sample project on how to implement JWT security role based using Spring boot 3 and Spring security 6 - caglayantolga/springboot-role-based-jwt-security-rest-api wono | discuss | tweet + it dev jest mock [JEST] 📚 모킹 Mocking 정리 - jest.fn / jest.mock /jest.spyOnMocking 원리 mocking이란 (mock = 모조품) 뜻 그대로 받아드리면 된다. 즉 테스트하고자 하는 코드가 의존하는 function이나 class에 대해 모조품을 만들어 '일단' 돌아가게 하는 것이다. 한마디로, 단위 테스트를 작성할 때, 해당 코드가 의존하는 부분을 가짜(mock)로 대체하는 기법을 말한다. 왜 가짜로 대체하는가? 테스트 하고싶은 기능이 다른 기능들과 엮여있을 경우(의존) 정확한 테스트를 하기 힘들기 때문이다. 예를들어 request body에 사용자의 id와 password를 넣어서 post요청을 보내면 컨트롤러에서 정보를 추출한 후 데이터베이스에 넣어주는 단위테스트를 하고 싶다고 하자. 컨트롤러는 라우터에서 응답을 보내는 미들웨어를 특별히 부르는 말이다. 그냥 함수다. 데.. wono | discuss | tweet + it dev nextjs jest prisma Next.js, Prisma, Jestでサーバーサイドのテストをする wono | discuss | tweet + it dev nextjs NextJs best boiler plateBest Boilerplate and Starter for Next.js with App Router support, Tailwind CSS, and TypeScript. “NextJs best boiler plate” is published by Mahernaija. wono | discuss | tweet + it dev vitest prisma Next.js(App Router)で作ったTODOアプリにVitestでテストを追加しました wono | discuss | tweet + it dev jest prisma Unit testing with Prisma ORM | Prisma DocumentationLearn how to setup and run unit tests with Prisma Client wono | discuss | tweet + it dev vitest Simple Unit Testing with Vitest: NextJS AppUnit testing considers only a unit in an isolated environment whereas there could be a block of code a.k.a function, or component. For better understanding, I will create a simple project to… wono | discuss | tweet + it dev vitest How to Mock Fetch API in VitestIn this article, we will learn how to mock the fetch API in Vitest in a to-do list service file. we will use the global along with vi.fn(). wono | discuss | tweet + it dev nextjs api Next.jsのAPIルートをテストする wono | discuss | tweet + it dev nextjs jest NextJs 14 — App Router and Unit Testing (w/ async pages)Unit-test in NextJs14 using JEST with practical examples. wono | discuss | tweet + it dev nextjs NextJS 14 app directory route.js testing fails with Vitest wono | discuss | tweet + it dev nextjs mock How do I test routes made with the app router in NextJS? I'm using vitest for this wono | discuss | tweet + it dev nextjs vitest Next.js application testing with Vitest and testing libraryIn this article, we’ll continue testing Next.js application using Vitest and testing library, and delve into testing more complex components that interact with APIs, Redux selectors, and custom… wono | discuss | tweet + it dev nextjs vitest 프론트엔드에서 Nextjs와 Vitest를 사용해 손쉽게 테스팅하기 (그리고 개발 재밌게 하기)프론트엔드 진영에서 테스팅은 필수로 여겨지지 않는 경우가 제법 많습니다. 각기 다른 이유가 있겠지만 제 경험상 저는 ‘바빠서'가 주된 이유였던 것 같습니다. unit testing, integration testing, e2e testing 모두 100%의 커버리지로 테스팅을 진행해서 나쁜 점이야 없겠다만, 우리의 외부환경은 기다려 줄 수 없습니다. 특히… wono | discuss | tweet + it dev nextjs jest How to Unit Test Next.js API Routes with TypescriptNext.js is an awesome frontend framework. It’s powered by React under the hood so it plays well with everything React has to offer out of the box: Hooks, Context, hot browser reloading, Typescript… wono | discuss | tweet + it dev nextjs jest Mastering Jest: A Complete Guide to Testing Next.js Applications Part-1In the fast-paced world of web development, creating robust and bug-free applications is paramount.... Tagged with jest, testing, nextjs, react. wono | discuss | tweet + it dev nextjs jest Unit Test Next.js API Routes with TypeScript (longer-version)Testing API routes sucks, especially when using TypeScript. This article covers how to unit test Next.js API routes with TypeScript using Jest and React Testing Libraries. With the release of Next.js… wono | discuss | tweet + it dev jest Jest를 이용해서 테스트 코드를 작성해 보자!테스트 코드를 작성해야하는 이유...?작성한 코드가 의도한 대로 작동하는지 검증할 수 있다.코드 변경 시, 변경 부분으로 인한 영향도를 쉽게 파악할 수 있다.코드 리팩토링 시 기능 구현이 동일하게 되었다는 판단을 내릴 수 있다.코드 변경 시, 변경 부분으로 인한 영향도 wono | discuss | tweetNext
+ it dev python msa An Authentication Pattern for microservices using DjangoHow can we design the authentication for microservices written in Django following one of its main principles ? Most of early stage APIs are developed using a monolithic architecture, meaning that… wono | discuss | tweet
+ it dev flutter jwt [Flutter] Token Login / Auth 구현하기Token Login / Auth 구현하기 https://nx006.tistory.com/64 Session VS Token Authentication - feat. JWT 기술 Authentication 앱을 만들 때 회원가입/로그인 기능을 구현해야 할 때가 있습니다. 인증 및 인가된 사용자에게 앱의 기능을 사용할 수 있게 하기 위해서는, 로그인이라는 Authentication(인증) 기능을 거 nx006.tistory.com 이전 글에서 Session 로그인과 Token Login 방식에 대해서 알아봤습니다. 이번 글에서는 어떻게 하면 Flutter에서 Token 로그인 방식을 관리할 수 있는지, 클라이언트 관점에서 구현해보겠습니다. 이 방법은 코드팩토리 님의 Flutter 강의를 듣고서 정리한 글입.. wono | discuss | tweet
+ it dev spring jwt GitHub - caglayantolga/springboot-role-based-jwt-security-rest-api: Sample project on how to implement JWT security role based using Spring boot 3 and Spring security 6Sample project on how to implement JWT security role based using Spring boot 3 and Spring security 6 - caglayantolga/springboot-role-based-jwt-security-rest-api wono | discuss | tweet
+ it dev jest mock [JEST] 📚 모킹 Mocking 정리 - jest.fn / jest.mock /jest.spyOnMocking 원리 mocking이란 (mock = 모조품) 뜻 그대로 받아드리면 된다. 즉 테스트하고자 하는 코드가 의존하는 function이나 class에 대해 모조품을 만들어 '일단' 돌아가게 하는 것이다. 한마디로, 단위 테스트를 작성할 때, 해당 코드가 의존하는 부분을 가짜(mock)로 대체하는 기법을 말한다. 왜 가짜로 대체하는가? 테스트 하고싶은 기능이 다른 기능들과 엮여있을 경우(의존) 정확한 테스트를 하기 힘들기 때문이다. 예를들어 request body에 사용자의 id와 password를 넣어서 post요청을 보내면 컨트롤러에서 정보를 추출한 후 데이터베이스에 넣어주는 단위테스트를 하고 싶다고 하자. 컨트롤러는 라우터에서 응답을 보내는 미들웨어를 특별히 부르는 말이다. 그냥 함수다. 데.. wono | discuss | tweet
+ it dev nextjs NextJs best boiler plateBest Boilerplate and Starter for Next.js with App Router support, Tailwind CSS, and TypeScript. “NextJs best boiler plate” is published by Mahernaija. wono | discuss | tweet
+ it dev jest prisma Unit testing with Prisma ORM | Prisma DocumentationLearn how to setup and run unit tests with Prisma Client wono | discuss | tweet
+ it dev vitest Simple Unit Testing with Vitest: NextJS AppUnit testing considers only a unit in an isolated environment whereas there could be a block of code a.k.a function, or component. For better understanding, I will create a simple project to… wono | discuss | tweet
+ it dev vitest How to Mock Fetch API in VitestIn this article, we will learn how to mock the fetch API in Vitest in a to-do list service file. we will use the global along with vi.fn(). wono | discuss | tweet
+ it dev nextjs jest NextJs 14 — App Router and Unit Testing (w/ async pages)Unit-test in NextJs14 using JEST with practical examples. wono | discuss | tweet
+ it dev nextjs mock How do I test routes made with the app router in NextJS? I'm using vitest for this wono | discuss | tweet
+ it dev nextjs vitest Next.js application testing with Vitest and testing libraryIn this article, we’ll continue testing Next.js application using Vitest and testing library, and delve into testing more complex components that interact with APIs, Redux selectors, and custom… wono | discuss | tweet
+ it dev nextjs vitest 프론트엔드에서 Nextjs와 Vitest를 사용해 손쉽게 테스팅하기 (그리고 개발 재밌게 하기)프론트엔드 진영에서 테스팅은 필수로 여겨지지 않는 경우가 제법 많습니다. 각기 다른 이유가 있겠지만 제 경험상 저는 ‘바빠서'가 주된 이유였던 것 같습니다. unit testing, integration testing, e2e testing 모두 100%의 커버리지로 테스팅을 진행해서 나쁜 점이야 없겠다만, 우리의 외부환경은 기다려 줄 수 없습니다. 특히… wono | discuss | tweet
+ it dev nextjs jest How to Unit Test Next.js API Routes with TypescriptNext.js is an awesome frontend framework. It’s powered by React under the hood so it plays well with everything React has to offer out of the box: Hooks, Context, hot browser reloading, Typescript… wono | discuss | tweet
+ it dev nextjs jest Mastering Jest: A Complete Guide to Testing Next.js Applications Part-1In the fast-paced world of web development, creating robust and bug-free applications is paramount.... Tagged with jest, testing, nextjs, react. wono | discuss | tweet
+ it dev nextjs jest Unit Test Next.js API Routes with TypeScript (longer-version)Testing API routes sucks, especially when using TypeScript. This article covers how to unit test Next.js API routes with TypeScript using Jest and React Testing Libraries. With the release of Next.js… wono | discuss | tweet
+ it dev jest Jest를 이용해서 테스트 코드를 작성해 보자!테스트 코드를 작성해야하는 이유...?작성한 코드가 의도한 대로 작동하는지 검증할 수 있다.코드 변경 시, 변경 부분으로 인한 영향도를 쉽게 파악할 수 있다.코드 리팩토링 시 기능 구현이 동일하게 되었다는 판단을 내릴 수 있다.코드 변경 시, 변경 부분으로 인한 영향도 wono | discuss | tweet