nextjs + it dev nextjs serverless Next.js의 API Routes 코드 모듈화에 대해서API Routes를 사용하면 코드가 매우 지저분해진다. API Routes를 사용하면서 어떻게 하면 코드를 보기 좋은 형태로 남길 수 있을지 고민한 흔적. wono | discuss | tweet + it dev nextjs How can I separate data layer from Next.js API routes? wono | discuss | tweet + it dev nextjs inject OOP and Dependency Injection in NextJsInversion of Control with InversifyJs in NextJs wono | discuss | tweet + it dev nextjs cors Using CORS in Next.js to handle cross-origin requests - LogRocket BlogThere are several ways to configure CORS in Next.js. Let's look at how to use the most critical headers to make your site more secure. wono | discuss | tweet + it dev nextjs Next.js 개발 요청사항1. Routing 정책 - App Router를 쓰는지 그렇다면 use client를 써야하는 상황 - App Router vs. Page Router → App Router 방식을 사용합니다. 공시문서: https://nextjs.org/docs#app-router-vs-pages-router App Router에서는 streaming과 같은 최신 React 기능을 사용할 수 있는 이점이 있습니다. Next.js 13.3까지 Page Router 방식을 사용했고 App Router는 베타 단계였고, Next.js 13.4부터 App Router가 정식 버전으로 채택되었습니다. App Router의 가장 큰 변화는 RSC(React Server Component)를 default로 쓰고 있다는 점입니다.. wono | discuss | tweet + it dev nextjs request Access Request Object in New App Directory Page Route · vercel/next.js · Discussion #42732Access Request Object in New App Directory Page Route wono | discuss | tweet + it dev nextjs how to get the client Ip address in app router? · vercel/next.js · Discussion #55037how to get the client Ip address in app router? wono | discuss | tweet + it dev nextjs zustand Setup with Next.js - Zustand wono | discuss | tweet + it dev nextjs Next.js 14 강좌 1편. 라우팅의 모든 것Next.js 14 강좌 1편. 라우팅의 모든 것 wono | discuss | tweet + it dev nextjs controller GitHub - ayonli/next-controller: Elegant API/MVC controller wrapper for Next.js framework.Elegant API/MVC controller wrapper for Next.js framework. - ayonli/next-controller wono | discuss | tweet + it dev nextjs approuter Real-world open-source projects built with Next.js 14 and App RouterDiscover how others build real-world Next.js applications by examining their codebase. Tagged with nextjs, frontend, react, opensource. wono | discuss | tweet + it dev nextjs kysely How to configurate Next.js and KyselyConfigurate Next.js and Kysely easily for your project wono | discuss | tweet + it dev kysely nextjs PlanetScale + Kysely 데이터베이스 연동 (Next.js)Next.js 프로젝트 스택 검토 (2023) 대로 홈페이지를 다시 만들기 위한 두 번째 단계로 Kysely를 사용하여 PlanetScale 데이터베이스를 연동했다. PlanetScale 데이터베이스 셋업 https://planetscale.com/docs/tutorials/planetscale-quick-start-guide를 따라하면 정말 쉽게 새 데이터베이스를 만들 수 있다. 데이터베이스 생성이 끝나면 대시보드에서 DB 상태를 비롯해 각종 정보를 볼 수 있다. 우측의 Connect 버튼을 누르면 username 등의 DB 접속 정보를 확인할 수 있는데, Connect with에서 MySQL CLI를 선택하면 나오는 명령을 참고하여 일반적인 DB 클라이언트에서 접속 가능하다. 다음은 MySQLWork.. wono | discuss | tweet + it dev kysely nextjs [Next.js] Vercel Postgres 사용하기토끼리 wono | discuss | tweet + it dev nextjs react Why are you using nextjs? wono | discuss | tweet + it dev nextjs i18n Next js 14 - How to use i18n wono | discuss | tweet + it dev nextjs i18n Simply way to support multiple languages i18n in Next.js 14 (Based on App Router)This post introduces the implementation of i18n internationalization multi-language feature in Next.js 14 (based on App Router), and takes into consideration actual scenarios to optimize and perfect… wono | discuss | tweet + it dev nextjs i18n [Nextjs] 다국어(i18n, internationalization) 적용하기서론이 문서는 next-i18next을 기반으로 next.js page router에 다국어 기능을 적용하는 과정을 다룹니다. 세팅하기Nextjs에서는 i18n 라우팅을 제공하고 있습니다. 이 기능을 도메인 혹은 pathname을 통해 설정 언어를 url로 표현할 수 있습니다.url을 통한 다국어 기능에는 몇 가지 이점이 있습니다. 1. SEO 최적화URL에 매칭되는 페이지의 언어가 결정되기 때문에 메타 테그()를 통해 해당 페이지 언어를 명시할 수 있어 해당 언어의 검색결과에 노출될 수 있습니다. 2. 링크 및 북마크 생성 가능설정된 언어가 URL에 담겨있기 때문에 해당 언어로 된 링크를 생성할 수 있습니다. 3. 번역 결과를 캐싱할 수 있음해당 페이지 결과를 캐싱할 수 있다는 이점은 여러 가지면에.. wono | discuss | tweet + it dev nextjs i18n [Next.js] i18n 적용하기 with App routingIntro 취업하고 바쁘게 지내던 중 이제 조금 적응하고 시간을 효율적으로 사용할 수 있을 것 같아 간만에 글을 작성한다. 회사는 Vue를 사용하는데, 왜 갑자기 Next.js일까? 사내 테스트로 AI Generator Tools를 사용해 보면서 대부분의 새로운 서 wono | discuss | tweet + it dev nextjs i18n Next.js로 다국어(i18n) 제공하기Next.js로 다국어를 적용하면서 공부하고 고민했던 흔적들에 대해서 설명합니다. wono | discuss | tweetNext
+ it dev nextjs serverless Next.js의 API Routes 코드 모듈화에 대해서API Routes를 사용하면 코드가 매우 지저분해진다. API Routes를 사용하면서 어떻게 하면 코드를 보기 좋은 형태로 남길 수 있을지 고민한 흔적. wono | discuss | tweet
+ it dev nextjs inject OOP and Dependency Injection in NextJsInversion of Control with InversifyJs in NextJs wono | discuss | tweet
+ it dev nextjs cors Using CORS in Next.js to handle cross-origin requests - LogRocket BlogThere are several ways to configure CORS in Next.js. Let's look at how to use the most critical headers to make your site more secure. wono | discuss | tweet
+ it dev nextjs Next.js 개발 요청사항1. Routing 정책 - App Router를 쓰는지 그렇다면 use client를 써야하는 상황 - App Router vs. Page Router → App Router 방식을 사용합니다. 공시문서: https://nextjs.org/docs#app-router-vs-pages-router App Router에서는 streaming과 같은 최신 React 기능을 사용할 수 있는 이점이 있습니다. Next.js 13.3까지 Page Router 방식을 사용했고 App Router는 베타 단계였고, Next.js 13.4부터 App Router가 정식 버전으로 채택되었습니다. App Router의 가장 큰 변화는 RSC(React Server Component)를 default로 쓰고 있다는 점입니다.. wono | discuss | tweet
+ it dev nextjs request Access Request Object in New App Directory Page Route · vercel/next.js · Discussion #42732Access Request Object in New App Directory Page Route wono | discuss | tweet
+ it dev nextjs how to get the client Ip address in app router? · vercel/next.js · Discussion #55037how to get the client Ip address in app router? wono | discuss | tweet
+ it dev nextjs controller GitHub - ayonli/next-controller: Elegant API/MVC controller wrapper for Next.js framework.Elegant API/MVC controller wrapper for Next.js framework. - ayonli/next-controller wono | discuss | tweet
+ it dev nextjs approuter Real-world open-source projects built with Next.js 14 and App RouterDiscover how others build real-world Next.js applications by examining their codebase. Tagged with nextjs, frontend, react, opensource. wono | discuss | tweet
+ it dev nextjs kysely How to configurate Next.js and KyselyConfigurate Next.js and Kysely easily for your project wono | discuss | tweet
+ it dev kysely nextjs PlanetScale + Kysely 데이터베이스 연동 (Next.js)Next.js 프로젝트 스택 검토 (2023) 대로 홈페이지를 다시 만들기 위한 두 번째 단계로 Kysely를 사용하여 PlanetScale 데이터베이스를 연동했다. PlanetScale 데이터베이스 셋업 https://planetscale.com/docs/tutorials/planetscale-quick-start-guide를 따라하면 정말 쉽게 새 데이터베이스를 만들 수 있다. 데이터베이스 생성이 끝나면 대시보드에서 DB 상태를 비롯해 각종 정보를 볼 수 있다. 우측의 Connect 버튼을 누르면 username 등의 DB 접속 정보를 확인할 수 있는데, Connect with에서 MySQL CLI를 선택하면 나오는 명령을 참고하여 일반적인 DB 클라이언트에서 접속 가능하다. 다음은 MySQLWork.. wono | discuss | tweet
+ it dev nextjs i18n Simply way to support multiple languages i18n in Next.js 14 (Based on App Router)This post introduces the implementation of i18n internationalization multi-language feature in Next.js 14 (based on App Router), and takes into consideration actual scenarios to optimize and perfect… wono | discuss | tweet
+ it dev nextjs i18n [Nextjs] 다국어(i18n, internationalization) 적용하기서론이 문서는 next-i18next을 기반으로 next.js page router에 다국어 기능을 적용하는 과정을 다룹니다. 세팅하기Nextjs에서는 i18n 라우팅을 제공하고 있습니다. 이 기능을 도메인 혹은 pathname을 통해 설정 언어를 url로 표현할 수 있습니다.url을 통한 다국어 기능에는 몇 가지 이점이 있습니다. 1. SEO 최적화URL에 매칭되는 페이지의 언어가 결정되기 때문에 메타 테그()를 통해 해당 페이지 언어를 명시할 수 있어 해당 언어의 검색결과에 노출될 수 있습니다. 2. 링크 및 북마크 생성 가능설정된 언어가 URL에 담겨있기 때문에 해당 언어로 된 링크를 생성할 수 있습니다. 3. 번역 결과를 캐싱할 수 있음해당 페이지 결과를 캐싱할 수 있다는 이점은 여러 가지면에.. wono | discuss | tweet
+ it dev nextjs i18n [Next.js] i18n 적용하기 with App routingIntro 취업하고 바쁘게 지내던 중 이제 조금 적응하고 시간을 효율적으로 사용할 수 있을 것 같아 간만에 글을 작성한다. 회사는 Vue를 사용하는데, 왜 갑자기 Next.js일까? 사내 테스트로 AI Generator Tools를 사용해 보면서 대부분의 새로운 서 wono | discuss | tweet
+ it dev nextjs i18n Next.js로 다국어(i18n) 제공하기Next.js로 다국어를 적용하면서 공부하고 고민했던 흔적들에 대해서 설명합니다. wono | discuss | tweet