{"id":18060432,"url":"https://github.com/hendurhance/express-dockerize","last_synced_at":"2026-04-10T13:32:23.971Z","repository":{"id":218778125,"uuid":"747302405","full_name":"hendurhance/express-dockerize","owner":"hendurhance","description":"Express.js-based API for sales data with Docker bootstrapping","archived":false,"fork":false,"pushed_at":"2024-04-11T22:21:34.000Z","size":390,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-20T15:41:41.656Z","etag":null,"topics":["docker","docker-compose","dockerfile","express","nodejs"],"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/hendurhance.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":"2024-01-23T17:01:59.000Z","updated_at":"2024-01-29T00:08:35.000Z","dependencies_parsed_at":"2024-12-24T11:23:35.077Z","dependency_job_id":null,"html_url":"https://github.com/hendurhance/express-dockerize","commit_stats":null,"previous_names":["hendurhance/express-dockerize"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hendurhance/express-dockerize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendurhance%2Fexpress-dockerize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendurhance%2Fexpress-dockerize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendurhance%2Fexpress-dockerize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendurhance%2Fexpress-dockerize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hendurhance","download_url":"https://codeload.github.com/hendurhance/express-dockerize/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendurhance%2Fexpress-dockerize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31645284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","docker-compose","dockerfile","express","nodejs"],"created_at":"2024-10-31T04:08:23.188Z","updated_at":"2026-04-10T13:32:23.949Z","avatar_url":"https://github.com/hendurhance.png","language":"JavaScript","funding_links":["https://github.com/sponsors/hendurhance","https://www.buymeacoffee.com/hendurhance","https://www.github.com/sponsors/hendurhance"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003e\u003cb\u003eExpressDockerize\u003c/b\u003e\u003c/h1\u003e\n\u003cp\u003eExpress.js-based API for sales data with Docker bootstrapping\u003c/p\u003e\n\u003cp\u003e\n  \u003ca href=\"https://medium.com/@hendurhance/how-to-create-a-dockerized-environment-for-developing-and-testing-node-js-apis-b9e4c22cf464\"\u003eRead the article on Medium\u003c/a\u003e\n    ·\n  \u003ca href=\"https://github.com/sponsors/hendurhance\"\u003eSponsor\u003c/a\u003e\n    ·\n  \u003ca href=\"https://twitter.com/hendurhance\"\u003eFollow me on Twitter\u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n**Note: An article on this project is available on [Medium](https://medium.com/@hendurhance/how-to-create-a-dockerized-environment-for-developing-and-testing-node-js-apis-b9e4c22cf464), check it out.**\n\n## Table of Contents\n- [Overview](#overview)\n  - [Introduction](#introduction)\n  - [API](#api)\n- [Usage](#usage)\n    - [Prerequisites](#prerequisites)\n    - [Installation](#installation)\n- [Contributing](#contributing)\n- [License](#license)\n- [Author](#author)\n- [Support](#support)\n\n## Overview\n### Introduction\nThis project is a simple Express.js-based API for sales data with Docker bootstrapping. It is intended to be used as a starting point for building a more complex API. The API is built with Node.js, Express.js, and PostgreSQL. The Docker bootstrapping is done with Docker Compose.\n\n### API\nThe API is a simple sales data API with two endpoints: `api/sales` and `api/sales/:id`. The `/sales` endpoint returns a list of sales data, and the `api/sales/:id` endpoint returns a single sale data object. The API is built with Node.js, Express.js, and PostgreSQL.\n\n| Endpoint | Method | Description |\n| --- | --- | --- |\n| `api/sales` | `GET` | Returns a list of sales data |\n| `api/sales/:id` | `GET` | Returns a single sale data object |\n| `api/sales` | `POST` | Creates a new sale data object |\n\n## Usage\n### Prerequisites\n- [Docker](https://docs.docker.com/get-docker/)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n- [Node.js](https://nodejs.org/en/download/)\n- [npm](https://www.npmjs.com/get-npm)\n\n### Installation\n1. Clone the repo\n```sh\ngit clone https://github.com/hendurhance/express-dockerize.git\n```\n2. Change directory to the project directory\n```sh\ncd express-dockerize\n```\n3. Install dependencies\n ```sh\n  npm install\n```  \n4. Start the Docker containers\n```sh\n docker-compose up --build -d\n```\n4. Visit `http://localhost:3000/api/sales` in your browser\n\n## Contributing\nFeel free to contribute to this project by opening issues or submitting pull requests. Your feedback and contributions are highly appreciated.\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Author\n- Endurance - [Github](https://github.com/hendurhance) - [Twitter](https://twitter.com/hendurhance) - [LinkedIn](https://www.linkedin.com/in/hendurhance/)\n\n## Support\nIf you found this project useful, please consider starring it. You can also [buy me a coffee](https://www.buymeacoffee.com/hendurhance) ☕️ or become a sponsor using the links below ➡️ [github sponsors](https://www.github.com/sponsors/hendurhance). Thanks a bunch for your support!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendurhance%2Fexpress-dockerize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhendurhance%2Fexpress-dockerize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendurhance%2Fexpress-dockerize/lists"}