This framework was built in hopes of becoming superior
to other frameworks like ESX or QBCore. While most frameworks use Lua as the main language I have decided to build the entire framework using Typescript
This framework should only be Used
and Edited
by those who understand programming in typescript and are Skilled in a few of the following:
- Command Line Usage
- Javascript/Typescript
- Understanding module bundlers such as
Webpack
ESBuild
- Node.JS Package Managers such as NPM | YARN
- Experience in Database Programs such as MongoDB
Feature | Description |
---|---|
Custom Chat System | Custom Chat System built from scratch and build completely into the framework |
Single Handler System | All Ticks, and Events are handled within the framework |
Database Wrapper | Easy to use Database Wrapper based around MongoDB |
Command Wrapper | Ease to use Command Wrapper which replaces the old & boring native RegisterCommand |
NUI | Fast and Responsive UI build using ReactJS |
NUI Wrapper | Easy to use NUI Wrapper which makes it easy to talk between the UI and the Client |
This Framework includes a built-in drag and drop plugin system, allowing developers to harness the power of typescript without having to build and set up a new typescript resource, instead, they can develop a plugin within the framework ./src/code/plugins
folder and the framework will build the plugin into a separate resource allowing for you to restart the plugin without having to restart the framework. This also means that users who wish to use your plugin can drag and drop the plugin you provided them into the plugin folder located inside the framework ./src/code/plugins
and run the npm run build:plugins
command. while in development you can also use the npm run build:plugins:watch
command to auto rebuild the plugin on code change allowing for a more efficient workflow.
- Clone Repository.
- cd into the Repository via
cd Rebirth
and runnpm install
to install all packages. - Next build the framework by using the
npm run R:BuildP
command - Rename
Config.json.example
toConfig.json
and fill in the config values. - Add
start Rebirth
to yourserver.cfg
. - And last start your server.
Command | Description |
---|---|
npm run build:core |
Compiles the Framework into a Production build |
npm run build:core:watch |
Compiles framework and then rebuilds on code change |
npm run build:plugins |
Compiles all Plugins located inside the framework's Plugin Directory ./src/code/plugins |
npm run build:core:watch |
Compiles framework's Plugins and then rebuilds on code change |
npm run build:ui |
Compiles UI into a production build |
npm run ui:dev |
Starts the UI Development Server in your browser https://localhost:3000 |
Command | Description |
---|---|
npm run UI:Build |
Compiles the UI into a Production Build |
npm run UI:Watch |
Starts the Development server which you can access in your browser via http://localhost:3000 |
npm run UI:Preview |
Serves the Production build which you can access in your browser via http://localhost:4173 |
Discord |
---|
MatrixTalents#6285 |
Edvard#3614 |