Skip to content
shabibmrPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

349 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LuxeKnox Platform

LuxeKnox backend spine and core platform services.

Prerequisites

  • Node.js >= 20.x
  • pnpm >= 9.x
  • MySQL 8.4 LTS installed and running locally

Database (MySQL 8.4 LTS)

The backend uses a MySQL 8.4 LTS instance hosted directly on the local machine (not Docker), configured with UTC datetime (time_zone = '+00:00'), READ-COMMITTED transaction isolation, and utf8mb4_0900_ai_ci collation.

Database Credentials

Default credentials for local development (as configured in .env.example):

  • Host: localhost (or 127.0.0.1)
  • Port: 3306
  • Database: luxeknox
  • Username: luxeknox
  • Password: luxeknox_secret
  • Root Password: root_secret
  • Database URL: mysql://luxeknox:luxeknox_secret@localhost:3306/luxeknox

Verifying Timezone and Isolation

You can verify that the custom configuration was applied by connecting via the MySQL CLI:

mysql -u luxeknox -pluxeknox_secret luxeknox -e "SELECT @@global.time_zone, @@session.time_zone, @@global.transaction_isolation, @@session.transaction_isolation;"

Expected output:

  • @@global.time_zone: +00:00
  • @@session.time_zone: +00:00
  • @@global.transaction_isolation: READ-COMMITTED
  • @@session.transaction_isolation: READ-COMMITTED

API Server

The API server runs NestJS with global prefix /v1 and interactive Swagger / OpenAPI documentation served at /v1/docs.

Install Dependencies

pnpm install

Development

Run the API service in watch mode:

pnpm api:dev
# or
pnpm --filter api start:dev

The server listens on http://localhost:3000 (or the configured PORT environment variable).

Interactive API Documentation

Once started, the OpenAPI documentation is accessible at:

Build & Typecheck

pnpm api:typecheck
# or
pnpm --filter api typecheck

pnpm api:build
# or
pnpm --filter api build

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages