{"id":41056615,"url":"https://github.com/theportus/relic-query-server","last_synced_at":"2026-01-22T11:38:16.308Z","repository":{"id":233408600,"uuid":"615464675","full_name":"thePortus/relic-query-server","owner":"thePortus","description":"App for approved users to share and view 3D models on the web (Portfolio Demonstration) - Server API","archived":false,"fork":false,"pushed_at":"2023-11-20T13:21:43.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T21:00:26.030Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thePortus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-17T18:57:54.000Z","updated_at":"2023-03-17T18:58:46.000Z","dependencies_parsed_at":"2024-04-16T04:20:21.289Z","dependency_job_id":"fa153be8-f140-4c1c-b9d0-0179e8b94ec6","html_url":"https://github.com/thePortus/relic-query-server","commit_stats":null,"previous_names":["theportus/relic-query-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thePortus/relic-query-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thePortus%2Frelic-query-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thePortus%2Frelic-query-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thePortus%2Frelic-query-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thePortus%2Frelic-query-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thePortus","download_url":"https://codeload.github.com/thePortus/relic-query-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thePortus%2Frelic-query-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28662212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-01-22T11:38:16.232Z","updated_at":"2026-01-22T11:38:16.295Z","avatar_url":"https://github.com/thePortus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# relic-query-server\n\n*App for approved users to share and view 3D models on the web (Portfolio Demonstration) - Server API*\n\nBy [David J. Thomas](mailto:dave.a.base@gmail.com), [thePort.us](https://thePort.us)\n\n---\n\nFull Stack (MySQL ExpressJS Angular NodeJS) app for to share 3D models on the web. Upload is limited\nto only those users pre-approved by the site owner.\n\n---\n\n## Installation\n\nCurrent installation is on a Docker setup.\n\n\nInstall docker, and docker-compose locally. Then clone this repo and move inside the directory. Finally, fetch the submodule, which contains the seeder data.\n\n``` sh\ngit clone https://github.com/thePortus/relic-query-server.git\ncd relic-query-server\ngit submodule update --init --recursive\n```\n\nThenm, modify the following files with your desired accounts/passwords/ports\n\n``` sh\n# most crucial, for setting account passwords\nsudo nano /docker-compose.yml\n# you must change the server_name and redirect to have the url to which you are deploying\nsudo nano /nginx/nginx.conf\n```\n\nNow, launch the docker containers with `docker compose up -d`.\n\nThe run command in our `docker-compose.yml` should have gotten the SSL certifictes for us already.\n\nAfter docker is up... use `docker exec` to shell into the server container...\n\n``` sh\n# run to get list of docker container names, look for server\ndocker ps\n# shell into the server container\ndocker exec -it SERVER_CONTAINER_NAME sh\n# run the server seeders\nsource migrate\n# exit out of container shell\nexit\n```\n\nNow, set the certbot to autorenew.\n\n``` sh\ndocker compose run --rm certbot renew\n```\n\nThen, stop the webserver, and output the dhparam key\n\n``` sh\ndocker compose stop webserver\nsudo openssl dhparam -out /home/YOUR_USERNAME/icam-server/dhparam/dhparam-2048.pem 2048\n```\n\nFinally, modify the `nginx/nginx.conf` file and uncomment the lower server block. MAKE SURE to replace values with your domains. Then restart the server with `docker compose restart`.\n\nIf you have problems and the docker container keeps restarting, the certbot might not have run correctly. To fix this, first, bring down the container with `docker compose down`. Then, re-comment out the SSH lines in your `nginx/nginx.conf` file. Now, bring the image back up with `docker compose up -d`. Then run the command `docker compose run --rm certbot certonly --webroot --webroot-path /var/www/html/ --email sample@your_domain --agree-tos --no-eff-email -d your_domain -d www.your_domain`. Once it is complete, un-comment out the `nginx/nginx.conf` file and `docker compose up -d` to get it started.\n\nThat's it, the server should be up an running.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheportus%2Frelic-query-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheportus%2Frelic-query-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheportus%2Frelic-query-server/lists"}