No description
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
klaig 68bef42188 Merge branch 'production-containers' into 'main'
Production containers

See merge request devops/teams/provisioners/backend!17
2026-10-06 19:51:09 +00:00
migrations Swagger docs, ES modules and migration tools 2026-09-24 00:01:44 +03:00
.gitignore Initial setup 2026-09-04 11:04:25 +03:00
.gitlab-ci.yml changed readme badge from line coverage to branch coverage 2026-10-03 10:15:00 +03:00
.prettierrc Linting and formatting \w CI 2026-09-14 12:10:15 +03:00
app.js Fix backend validation now allowing content to be empty when image present 2026-09-25 10:45:37 +03:00
app.test.js Swagger docs, ES modules and migration tools 2026-09-24 00:01:44 +03:00
db.js Swagger docs, ES modules and migration tools 2026-09-24 00:01:44 +03:00
Dockerfile.dev Add comments to the production changes 2026-10-06 22:40:08 +03:00
eslint.config.mjs Linting and formatting \w CI 2026-09-14 12:10:15 +03:00
package-lock.json Swagger docs, ES modules and migration tools 2026-09-24 00:01:44 +03:00
package.json Add native coverage badge 2026-10-03 09:29:34 +03:00
README.md formating 2026-10-03 10:24:12 +03:00
s3.js Add comments to the production changes 2026-10-06 22:40:08 +03:00
server.js Swagger docs, ES modules and migration tools 2026-09-24 00:01:44 +03:00
swagger.js Swagger docs, ES modules and migration tools 2026-09-24 00:01:44 +03:00

backend

Branch coverage

Coverage

Run project in local dev

npm install
npm run dev

Local development URL

The backend API runs locally at:

http://localhost:5000

It needs the db service from the discourse repo (docker compose up db) and a backend/.env with DB_HOST=localhost, DB_USER=discourse, DB_PASSWORD=racecar.

Tests

npm test