Skip to content

Tech stack and repo layout ​

Everything is TypeScript on Node 22 (node_version '22' in each manifest), bundled with esbuild and run with Bun scripts (bun install, then bun run setup, bun run dev, bun run check: see Getting started).

PartWhat we use
ScriptsTypeScript, esbuild, @citizenfx/client and @citizenfx/server types
UI (NUI)React 19 in one shared resource, raze_ui
DatabaseMariaDB/MySQL through our own raze_db (mysql2 pool)
FontsUnbounded Bold for headlines (@fontsource/unbounded), Archivo for everything else (@fontsource-variable/archivo), standing in for Acumin Pro
ScreenshotsPlaywright (bun run shot)

The code lives in the private Raze-Roleplay/raze-fivem repo. Assets are in separate private repos: raze-mlo (map interiors), raze-props, raze-vehicles, raze-clothing and raze-weapons.

PathWhat's there
resources/raze_*One folder per resource: fxmanifest.lua, src/client, src/server, often src/shared, JSON config, sql/, and web/ for NUI files
packages/shared@raze/shared: shared types, helpers and the ready system. Each resource's types live here (inventory.ts, jobs.ts, ...)
scripts/Setup, build, check, new-resource, screenshot and asset tools
server/server.cfgThe ensure order. FXServer runs from the repo folder with +exec server/server.cfg
server/secrets.cfgYour license key, picture key and wallet key. Gitignored, made by bun run setup
resources/[raze-*]The asset repos, cloned in as bracketed folders (gitignored here)
artifact/Your FXServer artifacts (gitignored)
dist/Build output, committed so the server runs straight after a pull. GitHub rebuilds it on every push to main if it's out of date, and fails a pull request whose build is stale. Never edit it by hand
.github/workflowsThat build check

Private. Do not share outside the team.