The backend server for LingDocs
  • TypeScript 66.1%
  • EJS 29.6%
  • JavaScript 3.8%
  • CSS 0.5%
Find a file
adueck 1a2a3d45b0
All checks were successful
CI / Deploy (push) Successful in 58s
oops on cd
2026-07-13 17:28:41 +02:00
.forgejo/workflows oops on cd 2026-07-13 17:28:41 +02:00
public initial commit 2025-08-29 14:52:15 +05:00
src try to fix the expiring cookie issue, if that is what it is! 2025-11-26 21:59:57 -05:00
views clean up 2025-08-30 08:47:21 +05:00
.gitignore initial commit 2025-08-29 14:52:15 +05:00
.npmrc new registry 2026-07-13 16:40:59 +02:00
check-couchdb.ts clean up 2025-08-30 08:47:21 +05:00
google-sheets-app-script.js initial commit 2025-08-29 14:52:15 +05:00
LICENSE initial commit 2025-08-29 14:52:15 +05:00
package-lock.json udpate dependencies 2025-09-06 01:17:04 +05:00
package.json oops update deps 2026-07-13 16:48:05 +02:00
README.md m 2025-08-29 15:13:22 +05:00
tsconfig.json initial commit 2025-08-29 14:52:15 +05:00

lingdocs-backend

The backend node server app for LingDocs sites. Handles auth and various apis.

CouchDB

When a user upgrades their account level to student or editor:

  1. A doc in the _users db is created with their Firebase Authentication info, account level, and a password they can use for syncing their personal wordlistdb
  2. A user database is created which they use to sync their personal wordlist.

There is also a review-tasks database which is used to store all the review tasks for editors and syncs with the review tasks in the app for the editor(s).