Thanks for your feedback.
The project is still a WIP so yeah there is a lot of mistake and bad things i was still learning fiveM bro.
Yeah we want to get rid of export function and use emitNet it’s in the pipe no worry
Yeah we are focusing on rewrite many part of the base, if u take a look at all my previous post i was focusing on UI/UX not a lot on base but we are working on it
For DB, i will take a look at make it better and add better env handling, and possibility to change.
It’s a lie that you can’t use NoSQL please before cry take a look at wtf is TypeORM → link here with mongo
RBAC if u have a solution for a better handling of role right message me, i want to learn more, i’m not the best dev bro, but i will do my best to give you the best framework WE can do, and i say WE because i want all of you involved in from far to near.
Jesus christ blalbal → because WIP , just whip me lmao
Oh and identity is in rework to be use with fiveM licences no more steam.
I didn’t wanted to create a signin/signup with account for player, i think that this step is too much as we can identify user with licences/steam and other.
How DB connect could be looped wtf :
if (!IsConnecting && !connected) {
IsConnecting = true; --> This shit go only time (maybe put delay if you loop)
try {
if (await connect()) {
IsConnecting = false;
clearTick(connectToDbTick);
}
} catch (err) {
IsConnecting = false;
}
}
The only case i see if it’s ur DB not UP, he would try again and again to connect in what it’s a problem ? you have log of what happen, i still can throws error and stop exec if needed just say me.
And too finish we are in pass to get rid of basic fiveM dependency.
and for npm/yarn there is only what we need there is not too much but maybe we could do less
"@citizenfx/client": "^1.0.2312-1",
"@citizenfx/server": "^1.0.2312-1",
"@types/node-polyglot": "^2.4.1",
"colors": "^1.4.0",
"fivem-js": "^1.3.3",
"moment": "^2.29.1",
"mysql2": "^2.1.0",
"node-polyglot": "^2.4.0",
"pg": "^8.5.1",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.25",
"vue-loader": "^15.9.3",
"webpack-filter-warnings-plugin": "^1.2.1",
"webpack-shell-plugin": "^0.5.0"
Hope i answered all your question, and i was readable i’m not english native speaker sry.