{"id":18256945,"url":"https://github.com/mediacomem/sqlexplorer-backend","last_synced_at":"2025-08-09T23:45:44.748Z","repository":{"id":29259962,"uuid":"120760380","full_name":"MediaComem/sqlexplorer-backend","owner":"MediaComem","description":" This is the backend server for the SQL Explorer application.","archived":false,"fork":false,"pushed_at":"2023-01-11T00:58:36.000Z","size":910,"stargazers_count":0,"open_issues_count":11,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-14T17:43:28.062Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MediaComem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-08T12:45:26.000Z","updated_at":"2019-06-12T14:26:49.000Z","dependencies_parsed_at":"2023-01-14T14:31:27.091Z","dependency_job_id":null,"html_url":"https://github.com/MediaComem/sqlexplorer-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fsqlexplorer-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fsqlexplorer-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fsqlexplorer-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fsqlexplorer-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MediaComem","download_url":"https://codeload.github.com/MediaComem/sqlexplorer-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247938662,"owners_count":21021569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T10:24:15.763Z","updated_at":"2025-04-08T22:29:11.329Z","avatar_url":"https://github.com/MediaComem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Explorer backend\n\nThis is the backend for the [SQL Explorer](https://sqlexplorer.heig-vd.ch) application.\n\nThe previous README file can be found [here](OLD_README.md). You'll notably find there some basic information on the API endpoints.\n\nThis is an Express application, that connects to a PostgreSQL database (that contains the application data), along with several databases on an SQL Server (each of which represents an assignment subject).\n\nThe app is composed primarily of a single file [`server.js`](server.js) where almost all the routes and logic is written, with the exception of the LTI stuff (see below).\n\n\u003e The front-end for this app is available on [its own repository][sql-front].\n\n## LTI\n\nThis application is compatible with the [LTI standard][lti], under its v1.1 version.\n\nAll LTI related code is found in the `lti` folder.\n\n## Scripts\n\nThe [`package.json` file](package.json) lists the available script such as the dev script and those for deploying the app.\n\n## Deployment\n\nThe deployment is done using the [`bash-deploy` plugin][bash-deploy] and the two files [`sqlexplorer.conf`](sqlexplorer.conf) and [`staging-sqlexplorer.conf`](staging-sqlexplorer.conf)\nThe [`ecosystem.config.js` file](ecosystem.config.js) is used by PM2 on the servers\n\n## Check that everything's good\n\nWhen deployed, you can make some very simple tests on the webapp to see if everything's all right:\n\n* Go to https://sqlexplorer.heig-vd.ch` and check that you see something\n* Write any SQL query for the displayed database and check that it returns something\n* Write any wrong query and check that the error displayed is not something like `Internal Server Error 505`...\n* Go to the admin page and check that the you can naviguate around\n* You could also try to create a new assignment (though you'll need to remove it from the database afterward)\n\n[sql-front]: https://github.com/MediaComem/sqlexplorer-frontend\n[lti]: https://www.imsglobal.org/activity/learning-tools-interoperability\n[bash-deploy]: https://www.npmjs.com/package/bash-deploy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fsqlexplorer-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediacomem%2Fsqlexplorer-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fsqlexplorer-backend/lists"}