Writing Java Code and Unit Tests Faster with GitHub Copilot Header image - explains the blog post intent - Learn how to use GitHub Copilot to generate Java code and unit testsโ€”using a real mortgage calculator exampleโ€”with practical tips on retaining quality code using AI-assisted development tools.

Writing Java Code and Unit Tests Faster with GitHub Copilot

Jonny Hackett AI, Articles, Java, Testing Leave a Comment

In this post, weโ€™ll explore how to use GitHub Copilot to generate Java code and unit tests with minimal manual input. Using a real-world exampleโ€”a mortgage calculator serviceโ€”youโ€™ll see how Copilot can help write both the core logic and the corresponding unit tests. Whether youโ€™re new to AI-assisted development or curious about Copilotโ€™s capabilities in a Java environment, this tutorial will give you practical insight into how it worksโ€”and where human oversight still matters.

Implementing GitHub OAuth with NextAuth.js

Implementing GitHub OAuth with NextAuth.js

Bob Palmer Articles, JavaScript, Programming, Security Leave a Comment

In my last post, โ€œIntroduction to Web Apps with Next.jsโ€, we went through the steps of setting up a new Next.js project, customizing a landing page, and implementing a very simple web application. In this post, weโ€™ll implement an Open Authentication (OAuth) based Single Sign-On (SSO) API within Next.js using NextAuth.js. Weโ€™ll be using GitHub as our provider, but the steps here are very similar for other platforms, such as Google or Discord. This will allow us to place portions of our website behind a login screen, restricting access to certain content or APIs for anonymous visitors.