2025-01-03 17:30:40 +01:00
2025-01-03 14:35:02 +01:00
2025-01-03 14:35:02 +01:00
2024-12-29 00:42:18 +01:00
2024-07-10 22:07:57 +02:00
2024-09-30 21:23:38 +02:00
2024-12-27 02:50:11 +01:00
2025-01-03 17:10:52 +01:00
2025-01-02 02:27:42 +01:00
2025-01-03 16:08:19 +01:00
2024-12-28 22:12:59 +01:00

Noxious game server

This is the server for the Noxious game.

Installation

  1. Clone the repository
  2. Install dependencies with npm install
  3. Copy the .env.example file to .env and fill in the required variables
  4. 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. You do this when you want to add a new table or change an existing one.

Apply migrations

Run npx mikro-orm migration:up to apply all pending migrations.

Import default data

After running the server, write init in the console to import default data.

Description
No description provided
Readme 10 MiB
Languages
TypeScript 100%