{"id":22628394,"url":"https://github.com/mohammedessehemy/survey-center","last_synced_at":"2026-04-12T12:50:16.615Z","repository":{"id":119801111,"uuid":"477468170","full_name":"MohammedEssehemy/survey-center","owner":"MohammedEssehemy","description":"Survey center APIs","archived":false,"fork":false,"pushed_at":"2022-04-03T21:59:09.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T13:45:50.308Z","etag":null,"topics":["nestjs","nodejs","postgresql"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/MohammedEssehemy.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":"2022-04-03T21:18:11.000Z","updated_at":"2023-03-04T05:23:42.000Z","dependencies_parsed_at":"2023-06-03T05:00:23.142Z","dependency_job_id":null,"html_url":"https://github.com/MohammedEssehemy/survey-center","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/MohammedEssehemy%2Fsurvey-center","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammedEssehemy%2Fsurvey-center/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammedEssehemy%2Fsurvey-center/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammedEssehemy%2Fsurvey-center/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MohammedEssehemy","download_url":"https://codeload.github.com/MohammedEssehemy/survey-center/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246135762,"owners_count":20729058,"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":["nestjs","nodejs","postgresql"],"created_at":"2024-12-09T01:26:04.926Z","updated_at":"2026-04-12T12:50:11.592Z","avatar_url":"https://github.com/MohammedEssehemy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Survey Center\n\nNodeJs APIs to serve as backend for anonymous surveys app, uses PostgreSQL for persistence.\n\n## Running the app\n\n### docker version (recommended)\n\n- This is the recommended way, since it will handle the database and migrations automatically.\n\n- Make sure you have docker installed\n\n- Run the app\n\n```bash\nyarn start:docker\n```\n\n### bare metal\n\n- copy `.env.example` to `.env` and change the `PG_URL` pointing to the PostgreSQL db\n\n- Run the migrations using `yarn migration:run`\n\n- Run the app\n\n```bash\nyarn start:dev\n```\n\n- Or run in debugging mode\n\n```bash\nyarn start:debug\n```\n\n### OpenAPI\n\n- App starts on port 3000 by default\n\n- call `localhost:3000/` to validate the server is up\n\n- Navigate to `localhost:3000/docs` to get the openAPI docs or use the `swagger.json` in the project directory\n\n## Test\n\n```bash\nyarn test\n```\n\n## Migrations\n\n- Migrations are handled using [typeorm](https://github.com/typeorm/typeorm)\n\n- To generate new migration, run the following:\n\n```bash\nyarn migration:generate -n \u003cMIGRATION_NAME\u003e\n```\n\n- To run pending migrations, run the following\n\n```bash\nyarn migration:run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammedessehemy%2Fsurvey-center","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammedessehemy%2Fsurvey-center","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammedessehemy%2Fsurvey-center/lists"}