This is for people who are new to NodeJs and trying to figure out how to build basic authentication with JSON web tokens and integrate it with their frontend.
You will either need postman installed on your PC or you can use Postman web with CORS extension enabled for chrome.
In the end of this article you can write routes or services which can be authorised if user is authenticated using JWT tokens.
This part consist…
Go to discord developer portal (link here )
Navigate to Applications in Side Menu( you may have prompted to log in). You will see the screen something like this. Now all you got to do is create an application by clicking the button near your profile pic.