This boilerplate presents usage of TypeScript in clientside and serverside.
1.Clone repository
-
Extract files to your alt:V server folder and add
boilerplate
to your resources to load. -
Open bash/cmd, switch into server directory:
- Type
npm install
- Provide your MySQL settings to ormconfig.json
- Type
npm run build
- Type
There is a 2 watchers that you can use.
npm run watch:client
- it watches clientnpm run watch:server
- it watches server
There is a 3 build cmds that you can use
npm run build
- it builds client & servernpm run build:client
- it builds client onlynpm run build:server
- it builds server only
npm run updateDeps
- it updates your packages to newest version
Enjoy, KifKick