324e644ef68443f58194dd697dcc8e40c8e45d4b
lms-be
Nest.js backend API for the LMS Electron frontend.
Local development
npm install
cp .env.example .env
npm run prisma:generate
npm run start:dev
The API listens on http://localhost:4400.
GET /healthGET /health/dbGET /api
Database
Local PostgreSQL is included in Docker Compose.
docker compose up -d postgres
npm run prisma:migrate
npm run start:dev
For a separated database server, set DATABASE_URL to the remote PostgreSQL host:
DATABASE_URL=postgresql://USER:PASSWORD@DB_HOST:5432/DB_NAME?schema=public
Docker
docker compose up --build
Description
Languages
TypeScript
91%
JavaScript
5.5%
PLpgSQL
3.3%
Python
0.1%