ALTV MP Server Boilerplate
A boilerplate for ALTV MP with MongoDB and Typescript!
- Clone or download repository.
- Copy ALTV MP server-files files and paste here (root folder).
- Add
altv
resource toserver.cfg
- Open terminal and:
- Type
npm install
. cp .env.example .env
- Edit .env with your configs.
- Type
- Run
tsc -w
insrc/server
andsrc/client
folders - Run
npm run lint
to lint the code - Run
npm run build
to compile bothserver
andclient
Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.