/fivem-kv

[WIP] A type-safe ORM for the FiveM KV (RocksDB) to finally replace SQL databases on fxservers.

Primary LanguageTypeScript

esbuild-fivem

FiveM resource bootstrapped with esbuild and TypeScript.
Using this template should be very straightforward, but I will explain it anyways.

Structure

common/: Shared libraries, can be imported from both server and client (be aware of what natives/functions you use though).
server/: Server code using node 16 (or 12 if you didn't update your artifacts).
client/: Client code.

Commands

build: Will build the project (production ready).
dev: Will start esbuild in watch mode (types are still checked) (make sure to restart the resource in txAdmin/console).