Skip to content

KIVOX-dev/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skillovate Backend

This repository hosts two independent backend services, each in its own folder with its own dependency manifest, env files, and Dockerfile:

Folder Stack Purpose
python-service/ Python 3.12 / FastAPI / MongoDB (+ SQLite fallback) The original Skillovate V2 API
node-api/ Node.js / Express / PostgreSQL (Google Cloud SQL) Clean-architecture REST API, RBAC, JWT + Google OAuth

Neither service's code was touched by the other's setup — see each folder's own README.md for architecture and REQUIREMENTS.md for prerequisites.

Recent updates

  • Added the full Node/Express/PostgreSQL API (16-table schema, RBAC, JWT + Google OAuth, clean architecture, deployment docs) — originally scaffolded at the repo root.
  • Removed ~19 stale one-off debug/migration scripts that had accumulated at the repo root (fix_db*.py, migrate_to_mongo.py, sync_sqlite_to_mongo.py, query_db*.py, test_hash.py, change_admin_pass.py, check.py, test-login.js, a query.js with a hardcoded DB password, an empty skillovate.db, and an unused main.py stub) and ~60 committed __pycache__/*.pyc files; added the right patterns to .gitignore so they don't return.
  • Reorganized the repo root: what used to be a flat mix of Python and Node config files is now split into python-service/ and node-api/, each self-contained. Dockerfile.node was renamed to plain Dockerfile inside node-api/ (the .node extension was being misread as a compiled Node binary by some tooling, and the suffix was only there to avoid colliding with the Python service's Dockerfile when both sat in the same folder — no longer needed once separated).
  • Found and relocated seed_mongo.py (created outside this cleanup, containing a hardcoded plaintext MongoDB Atlas password) into python-service/that credential should be rotated; see the security note in python-service/README.md.

Local development ports

Service URL
Frontend http://localhost:5173 (or 3000 for the existing Next.js app)
Node API http://localhost:5000
Python service http://localhost:8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages