Reverse Engineered third party API server for EMMVRC
This is old... Not tested after last code commit
Emm will definitely not condone any of this, you might get banned from the EMMVRC network for using it
This code is VERY messy and was threw together in the space of 4-6 hours over midnight.
Feel free to use this but no bug testing or security audits have been run.
- Authentication
- Messages
- Avatar Favs
- Avatar Search
- Pin Login
From looking at the tokens the real EMMVRC API gives I believe they are using JWT. I couldn't be bothered... so you get a random 32 hex token that gets revoked at the end of session.
Also without a pin someone could impersonate you as its litterally just userID used to give a token, both here and on the real api, only the real API has a pin for now.
If you don't know this.. I probably wouldn't bother trying to run your own... but even so.. here it goes...
Ensure you have nodeJS v12 (Just what I have, probably works in older versions) Ensure you have a MongoDB server.. was just easy..
Run npm install
in the directory you want to run the server from AFTER placing the files from the repo in there...
Now just do node .
to run the server..
Done.