Hey learners, tried documenting my learning on OpenAPI and hope it remains a useful read for your time. Lets get started.

What is OpenAPI Specification?

OpenAPI documentation gives the definition as,

The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to RESTful APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined, a consumer can understand and interact with the remote service with a minimal amount of implementation logic.

OpenAPI Specification is essentially a way or format to describe all…

Hi learners, this is my second article in the series of documenting my learning about building a user auth system using JWT in golang. In the first article, we went over the concepts involved in handling the JWT token. In this article, we are going to build on to the same Authentication system and add the functionalities of Email verification and Password resetting. The code repo can be found here. Lets begin.

(Note: for readers who are following the code repo from the previous article, i have made a few reformatting to the code mainly the UserHandler type is renamed…

JWT with Go

Hi learners, i will try to document all my learnings from the journey i tried building a user authentication system with JWT using golang with a hope it helps people as a good reference.

What is JWT?

For the audience who are not much confident about the word “JWT”, JWT expands out as JSON Web Token. JWT is an approach for authenticating a user in server side.

In traditional approach, we have sessions for authenticating users, where on a successful login we will create a new session with that user’s detail and store it in server storage. We then send back the created…

vignesh dharuman

love to learn, love to code.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store