{"id":26866424,"url":"https://github.com/link2twenty/express-sample-js","last_synced_at":"2025-03-31T04:54:36.867Z","repository":{"id":285264105,"uuid":"957551601","full_name":"Link2Twenty/express-sample-js","owner":"Link2Twenty","description":"A sample express microservice using jsdoc for documentation.","archived":false,"fork":false,"pushed_at":"2025-03-30T17:03:01.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T17:33:35.723Z","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/Link2Twenty.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":"2025-03-30T16:41:38.000Z","updated_at":"2025-03-30T17:03:04.000Z","dependencies_parsed_at":"2025-03-30T17:33:40.019Z","dependency_job_id":"596caf0f-cde8-4f89-b30b-f6b80cdacfe3","html_url":"https://github.com/Link2Twenty/express-sample-js","commit_stats":null,"previous_names":["link2twenty/express-sample-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link2Twenty%2Fexpress-sample-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link2Twenty%2Fexpress-sample-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link2Twenty%2Fexpress-sample-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Link2Twenty%2Fexpress-sample-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Link2Twenty","download_url":"https://codeload.github.com/Link2Twenty/express-sample-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246418653,"owners_count":20773935,"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":"2025-03-31T04:54:36.293Z","updated_at":"2025-03-31T04:54:36.854Z","avatar_url":"https://github.com/Link2Twenty.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## My Express Microservice\n\nThis is an example of how I (Link2Twenty) layout an Express microservice.\n\nDocumentation generated from JSDoc is available [here](https://link2twenty.github.io/express-sample-js/).\n\n### Overview\n\nThis microservice provides a simple API for retrieving Astronomy Picture of the Day (APOD) entries from NASA, all API request are made from the server to [nasa's api](https://github.com/nasa/apod-api) before forwarding the data on.\n\nThis is only a sample project to show style, layout and documentation techniques and is not intended to be used in any form of production environment.\n\n### Usage\n\n```bash\n# run server\nnode .\n\n# generate docs\nnpm run jsdoc\n\n# load env file and run server\nnode --env-file=.env .\n```\n\n#### Environment variables\n\nTo set environment variables you will either have to set them in the system environment (recommended for docker) or load in a seperate `.env` file.\n\n```bash\nPORT=NUMBER # port express is exposed on\nAPI_KEY=STRING # NASA API_KEY\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink2twenty%2Fexpress-sample-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flink2twenty%2Fexpress-sample-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink2twenty%2Fexpress-sample-js/lists"}