{"id":23527961,"url":"https://github.com/nerdingitout/form-bff","last_synced_at":"2025-07-12T17:34:33.561Z","repository":{"id":84626933,"uuid":"436578818","full_name":"nerdingitout/form-bff","owner":"nerdingitout","description":"Express.js backend to perform queries to postgreSQL DB","archived":false,"fork":false,"pushed_at":"2021-12-20T11:40:42.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T10:32:11.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/nerdingitout.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-09T10:43:58.000Z","updated_at":"2021-12-20T11:40:44.000Z","dependencies_parsed_at":"2023-10-20T19:15:36.416Z","dependency_job_id":null,"html_url":"https://github.com/nerdingitout/form-bff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nerdingitout/form-bff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdingitout%2Fform-bff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdingitout%2Fform-bff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdingitout%2Fform-bff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdingitout%2Fform-bff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdingitout","download_url":"https://codeload.github.com/nerdingitout/form-bff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdingitout%2Fform-bff/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265025694,"owners_count":23699803,"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-12-25T20:18:59.321Z","updated_at":"2025-07-12T17:34:33.298Z","avatar_url":"https://github.com/nerdingitout.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-hello-world\n\nThis is an example Express server, which serves an API.\n\nExpress is the \"fast, unopinionated, minimalist web framework for Node.js\".\n\nTo run:\n\n    npm install\n    npm start\n\nThe app will now start on \u003chttp://localhost:3000\u003e\n\nIf you hit \u003chttp://localhost:3000/greeting\u003e you'll get a greeting:\n\n    $ curl localhost:3000/greeting\n    {\"greeting\":\"Hello, world!\"}\n\n## Put it in a container\n\nBuild a Docker image:\n\n    docker build -t node-hello-world .\n\nNow start a container from the image:\n\n    docker run --network=host node-hello-world\n\nYou'll be able to access the API at \u003chttp://localhost:3000/greeting\u003e.\n\n## Run on OpenShift environement\n- you can create the application on Red Hat OpenShift using ```oc new-app``` command, YAML deployments that reside in ```k8s``` folder, or using OpenShift Pipelines.\n- Once deployed, make sure to connect to your postgreSQL database by creating a secret in each environment using the following command. Make sure to replace the values with the right credentials for each variable. Leave port 8080 as is.\u003cbr\u003e\n```\noc create secret generic postgredb-secret --from-literal=DB_USER=\u003cadd-db-user-here\u003e --from-literal=DB_PASSWORD=\u003cadd-db-password-here\u003e --from-literal=DB_HOST=\u003cadd-db-host-here\u003e --from-literal=DB_PORT=\u003cadd-db-port-here\u003e --from-literal=DB_NAME=\u003cadd-db-name-here\u003e --from-literal=PORT=8080\n```\n- Then set the secret you create as environment variable for your application\u003cbr\u003e\n```\noc set env --from=secret/postgredb-secret deployment/form-bff\n```\n\n## Acknowledgements\n\nThis app was created using the [Express application generator][expressgen].\n\n[express]: https://expressjs.com/\n[expressgen]: https://expressjs.com/en/starter/generator.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdingitout%2Fform-bff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdingitout%2Fform-bff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdingitout%2Fform-bff/lists"}