• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Account Service

Newbie Spellweaver
Joined
Oct 7, 2012
Messages
18
Reaction score
14
Hello Guys!

I haven't been programming a lot for Priston, but I decided to make something just for fun :lol:

I developed an Account Service to handle all authentication and authorization business.

Priston Tale has a tightly coupled code.
The consequence of its monolithic architecture appears when you add a NPC and Clan System stops working :$:

Yo8ujno - Account Service - RaGEZONE Forums


I wrote this REST Service with NodeJS, which I'm not fully skilled(?), so if someone could give me a hand on refactoring the code would be nice :D:

To make a long story short, here is the code:



Usage example:



I think that's it.

Any doubts?
Message me here or text me in Telegram @lmachado73



See ya :eek:tt1:.
 

Attachments

You must be registered for see attachments list
Last edited:
Back
Top