{"id":20815976,"url":"https://github.com/orewaee/embroidery","last_synced_at":"2025-12-27T07:35:00.382Z","repository":{"id":230913033,"uuid":"779641463","full_name":"orewaee/embroidery","owner":"orewaee","description":"A small app for viewing embroidery designs","archived":false,"fork":false,"pushed_at":"2024-05-22T12:38:45.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-22T13:52:54.806Z","etag":null,"topics":["embroidery","golang","http","mongodb","nuxt"],"latest_commit_sha":null,"homepage":"","language":"Go","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/orewaee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-30T11:44:19.000Z","updated_at":"2024-05-27T22:40:57.707Z","dependencies_parsed_at":"2024-04-11T18:43:24.474Z","dependency_job_id":"828ef2fa-cc13-4555-982d-c42575c959cd","html_url":"https://github.com/orewaee/embroidery","commit_stats":null,"previous_names":["orewaee/embroidery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orewaee%2Fembroidery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orewaee%2Fembroidery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orewaee%2Fembroidery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orewaee%2Fembroidery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orewaee","download_url":"https://codeload.github.com/orewaee/embroidery/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243163659,"owners_count":20246568,"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":["embroidery","golang","http","mongodb","nuxt"],"created_at":"2024-11-17T21:27:20.249Z","updated_at":"2025-12-27T07:35:00.335Z","avatar_url":"https://github.com/orewaee.png","language":"Go","readme":"## About\n\nA simple mini-project that is a portfolio of embroidery designs.\nThe server part is written using the net/http std lib.\nMongoDB is used as the database.\nStatic image files are stored in one of the app dirs.\nNuxt is used to write the client part.\nI'm not that good at writing frontend, so there may be some problems with it.\n\nImages of the designs shown in the screenshot below are owned by [EmbroEVCH](https://t.me/+bwtwEvm0Zr0zNjEy).\nI'm not going to use them to make money. I really like their work.\n\n\u003cimg src=\"https://i.imgur.com/UC3oxIY.png\" alt=\"screenshot\"\u003e\n\n\n## Run\n\nFor the app to fully work, you need to run the server and client parts, as well as the database.\nUse the commands provided below to achieve this.\n\nCommands must be executed after providing environment variables.\nA list of them for each part of the app can be found in the `.env.example` file in the corresponding dirs.\n\n\n#### Server\n\nTo run the server side, use the `go run .` command in the root dir of the project.\n\n\n#### Client\n\nTo run the client side, first go to the `web` dir.\nIn it, use the commands `pnpm install` and `pnpm dev`.\n\n\n#### Database\n\nYou can deploy database in any way convenient for you, for example, use Docker for this.\nIn the `deploy` dir there is a config file `docker-compose.yml`.\n\n\n## Routes\n\nAt the moment, only two routes are provided to receive data:\n\n- `GET /designs` - returns a list of visible designs along with their ids, names, and tags.\n- `GET /design/{id}` - returns an image byte array with content type `image/jpeg`. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forewaee%2Fembroidery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forewaee%2Fembroidery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forewaee%2Fembroidery/lists"}