Skip to content

ALTVMP Boilerplate built with NodeJS and Typescript.

Notifications You must be signed in to change notification settings

wuzi/altvmp-boilerplate

Repository files navigation

ALTV MP Server Boilerplate

A boilerplate for ALTV MP with MongoDB and Typescript!

Getting started

  1. Clone or download repository.
  2. Copy ALTV MP server-files files and paste here (root folder).
  3. Add altv resource to server.cfg
  4. Open terminal and:
    • Type npm install.
    • cp .env.example .env
    • Edit .env with your configs.

Development

  1. Run tsc -w in src/server and src/client folders
  2. Run npm run lint to lint the code
  3. Run npm run build to compile both server and client

Contributing

Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.