forked from noxious/server
45e756fcd351efc27ebd971c540b1da00c6639a5
Noxious game server
This is the server for the Noxious game.
Installation
- Clone the repository
- Install dependencies with
npm install
- Copy the
.env.example
file to.env
and fill in the required variables - Run the server with
npm run dev
Commands
npm run dev
Starts the server in development mode.
npm run build
Builds the server for production.
npm run format
Formats the code using Prettier.
MikroORM
MikroORM is used as the ORM for the server.
Create init. migrations
Run npx mikro-orm migration:create --initial
to create a new initial migration.
Create migrations
Run npx mikro-orm migration:create
to create a new migration.
Apply migrations
Run npx mikro-orm migration:up
to apply all pending migrations.
Description
Languages
TypeScript
100%